diff --git a/lib/soml/compiler.rb b/lib/soml/compiler.rb index 0d5a6fd7..6ae21169 100644 --- a/lib/soml/compiler.rb +++ b/lib/soml/compiler.rb @@ -83,7 +83,7 @@ module Soml # return self for chaining def init_method source = "Complier.init_method" - @method.instructions = Register::Label.new(source, "#{method.for_class.name}_#{method.name}") + @method.instructions = Register::Label.new(source, "#{method.for_class.name}.#{method.name}") @current = method.instructions add_code enter = Register.save_return(source, :message , :return_address) add_code Register::Label.new( source, "return")