diff --git a/lib/interpreter/interpreter.rb b/lib/interpreter/interpreter.rb index e4a443b9..fb6cf5ab 100644 --- a/lib/interpreter/interpreter.rb +++ b/lib/interpreter/interpreter.rb @@ -202,7 +202,7 @@ module Interpreter else raise "unimplemented '#{@instruction.operator}' #{@instruction}" end - puts "#{@instruction} == #{result}" + #puts "#{@instruction} == #{result}" right = set_register(@instruction.left , result) true end diff --git a/lib/phisol/compiler/function_definition.rb b/lib/phisol/compiler/function_definition.rb index 2b515724..82093dce 100644 --- a/lib/phisol/compiler/function_definition.rb +++ b/lib/phisol/compiler/function_definition.rb @@ -30,7 +30,7 @@ module Phisol raise "Already in method #{@method}" if @method @method = @clazz.get_instance_method( name ) if(@method) - puts "Warning, redefining method #{name}" unless name == :main + #puts "Warning, redefining method #{name}" unless name == :main #TODO check args / type compatibility @method.source.init @method else