From ae21feb6dc43e753e3eee3960e672ed8997fda58 Mon Sep 17 00:00:00 2001 From: Torsten Ruger Date: Sun, 18 Oct 2015 17:20:25 +0300 Subject: [PATCH] minor --- lib/interpreter/interpreter.rb | 2 +- lib/phisol/compiler/function_definition.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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