gets rid of soml-parser completely

This commit is contained in:
Torsten Ruger
2016-12-08 20:13:08 +02:00
parent 4cd979e3e9
commit ca4bdcc528
21 changed files with 26 additions and 65 deletions

View File

@@ -9,7 +9,7 @@ module Typed
name_s = no_space( statement.name.value )
@method.ensure_local( name_s, statement.type ) unless( @method.has_arg(name_s))
# if there is a value assigned, process it as am assignemnt statement (kind of call on_assign)
process( Soml::Assignment.new(statement.name , statement.value ) ) if statement.value
process( Typed::Assignment.new(statement.name , statement.value ) ) if statement.value
return nil
end
end