fix statement list compilation
This commit is contained in:
parent
472a2d80f6
commit
b6fdb51ed1
@ -88,10 +88,6 @@ module Typed
|
|||||||
end
|
end
|
||||||
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
|
# 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
|
# class_name and method_name are pretty clear, args are given as a ruby array
|
||||||
def create_method( class_name , method_name , args = {})
|
def create_method( class_name , method_name , args = {})
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
module Typed
|
module Typed
|
||||||
module StatementList
|
module StatementList
|
||||||
def on_statements statement
|
def on_Statements statement
|
||||||
process_all( statement.children )
|
process_all( statement.statements )
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user