aboutsummaryrefslogtreecommitdiff
path: root/devtools/tasmrecover
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/tasmrecover')
-rw-r--r--devtools/tasmrecover/tasm/parser.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/devtools/tasmrecover/tasm/parser.py b/devtools/tasmrecover/tasm/parser.py
index 0583d851b4..4cea496722 100644
--- a/devtools/tasmrecover/tasm/parser.py
+++ b/devtools/tasmrecover/tasm/parser.py
@@ -46,7 +46,9 @@ class parser:
def get_global(self, name):
name = name.lower()
- return self.__globals[name]
+ g = self.__globals[name]
+ g.used = True
+ return g
def get_globals(self):
return self.__globals