fix statement list compilation
This commit is contained in:
parent
472a2d80f6
commit
b6fdb51ed1
@ -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 = {})
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user