summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--preprocessor.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/preprocessor.py b/preprocessor.py
index abb672822..a812d3f3f 100644
--- a/preprocessor.py
+++ b/preprocessor.py
@@ -405,9 +405,9 @@ def macro_test(asm):
token = extract_token(asm)
# check against all names
- try:
+ if token in macro_table:
return (macro_table[token], token)
- except:
+ else:
return (None, None)
def macro_translator(macro, token, line):