summaryrefslogtreecommitdiff
path: root/preprocessor.py
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2012-05-16 21:16:28 -0500
committerBryan Bishop <kanzure@gmail.com>2012-05-16 21:16:28 -0500
commita049ef74f88a98a0925f5b918578608945445c8e (patch)
treec7812f2542c0465c799918c3054a3e11eb0b567a /preprocessor.py
parent611016ae406522a43cd3d75a9f24f5e8f68a02b4 (diff)
use db instead of item_frag on ItemFragment remote chunks
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