rename field to parameter in parameter_list

also field to field_def (wip)
and lots of whitespace due to ws fix
This commit is contained in:
Torsten Ruger
2015-09-20 12:56:06 +03:00
parent be444bc687
commit ea6472c28f
20 changed files with 225 additions and 225 deletions

View File

@ -5,18 +5,18 @@ module Soho
end
end
-- -- --
s(:expressions,
s(:module, :Soho,
s(:call,
s(:name, :ofthen),
s(:arguments,
s(:int, 3),
s(:name, :var))),
s(:function, :int,
s(:name, :ofthen),
s(:parameters,
s(:field, :int, :n),
s(:field, :ref, :m)),
s(:expressions,
s(:return,
s(:int, 44))))))
s(:expressions,
s(:module, :Soho,
s(:call,
s(:name, :ofthen),
s(:arguments,
s(:int, 3),
s(:name, :var))),
s(:function, :int,
s(:name, :ofthen),
s(:parameters,
s(:parameter, :int, :n),
s(:parameter, :ref, :m)),
s(:expressions,
s(:return,
s(:int, 44))))))

View File

@ -13,7 +13,7 @@ s(:expressions,
s(:function, :ref,
s(:name, :ofthen),
s(:parameters,
s(:field, :int, :n)),
s(:parameter, :int, :n)),
s(:expressions,
s(:if,
s(:condition,

View File

@ -10,7 +10,7 @@ s(:expressions,
s(:function, :int,
s(:name, :foo),
s(:parameters,
s(:field, :int, :x)),
s(:parameter, :int, :x)),
s(:expressions,
s(:name, :int),
s(:assign,