modulize return and list
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
module Typed
|
||||
Compiler.class_eval do
|
||||
module ReturnStatement
|
||||
|
||||
def on_ReturnStatement statement
|
||||
reg = process(statement.return_value)
|
||||
|
@@ -1,7 +1,5 @@
|
||||
module Typed
|
||||
|
||||
Compiler.class_eval do
|
||||
|
||||
module StatementList
|
||||
def on_statements statement
|
||||
process_all( statement.children )
|
||||
end
|
||||
|
Reference in New Issue
Block a user