From 17dcd185c8deec5971779fb9601118a744ea3628 Mon Sep 17 00:00:00 2001 From: Safiire Date: Thu, 5 Mar 2015 18:49:44 -0800 Subject: [PATCH] Fixed anonymous scopes --- lib/directives/enter_scope.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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