diff --git a/lib/directives/enter_scope.rb b/lib/directives/enter_scope.rb index 7e46e2c..0a3ed90 100644 --- a/lib/directives/enter_scope.rb +++ b/lib/directives/enter_scope.rb @@ -13,7 +13,7 @@ module Assembler6502 ## Anonymous scope match_data = line.match(/^\.scope$/) unless match_data.nil? - EnterScope.new + return EnterScope.new end ## Named scope