diff options
author | Bryan Bishop <kanzure@gmail.com> | 2013-08-28 16:13:46 -0500 |
---|---|---|
committer | Bryan Bishop <kanzure@gmail.com> | 2013-08-28 16:14:23 -0500 |
commit | 00b36922d20fd171f7708a842a19219d743a22e6 (patch) | |
tree | d8a5ca518b92b853d33fc69915c2e63381876afb | |
parent | ddc4a929058ff103cac5743ca39bb8e4b520ee90 (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.
-rw-r--r-- | preprocessor.py | 2 |
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: |