summaryrefslogtreecommitdiff
path: root/preprocessor.py
diff options
context:
space:
mode:
Diffstat (limited to 'preprocessor.py')
-rw-r--r--preprocessor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/preprocessor.py b/preprocessor.py
index 42f64a01e..782ff80fb 100644
--- a/preprocessor.py
+++ b/preprocessor.py
@@ -443,7 +443,7 @@ def macro_translator(macro, token, line):
# "db" is a macro because of TextEndingCommand
# rgbasm can handle "db" so no preprocessing is required
# (don't check its param count)
- if macro.macro_name == "db" and macro == TextEndingCommand:
+ if macro.macro_name == "db" and macro in [TextEndingCommand, ItemFragment]:
sys.stdout.write(original_line)
return