summaryrefslogtreecommitdiff
path: root/preprocessor.py
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2013-08-28 16:13:46 -0500
committerBryan Bishop <kanzure@gmail.com>2013-08-28 16:14:23 -0500
commit00b36922d20fd171f7708a842a19219d743a22e6 (patch)
treed8a5ca518b92b853d33fc69915c2e63381876afb /preprocessor.py
parentddc4a929058ff103cac5743ca39bb8e4b520ee90 (diff)
remove a special case for MoneyByteParam
The preprocessor should ideally have no special cases for macros at all in the first place. But it does. This one doesn't seem to be necessary.
Diffstat (limited to 'preprocessor.py')
-rw-r--r--preprocessor.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/preprocessor.py b/preprocessor.py
index 3b49af835..105b6100e 100644
--- a/preprocessor.py
+++ b/preprocessor.py
@@ -498,8 +498,6 @@ def macro_translator(macro, token, line):
elif param_klass.byte_type == "dw":
if param_klass.size == 2:
allowed_length += 1 # just label
- elif param_klass == MoneyByteParam:
- allowed_length += 1
elif param_klass.size == 3:
allowed_length += 2 # bank and label
else: