fix statement list compilation

This commit is contained in:
Torsten Ruger 2016-12-11 12:13:42 +02:00
parent 472a2d80f6
commit b6fdb51ed1
2 changed files with 2 additions and 6 deletions

View File

@ -88,10 +88,6 @@ module Typed
end
end
def on_Statements(codes)
process_all codes.statements
end
# create the method, do some checks and set it as the current method to be added to
# class_name and method_name are pretty clear, args are given as a ruby array
def create_method( class_name , method_name , args = {})

View File

@ -1,7 +1,7 @@
module Typed
module StatementList
def on_statements statement
process_all( statement.children )
def on_Statements statement
process_all( statement.statements )
end
end
end