From 00b36922d20fd171f7708a842a19219d743a22e6 Mon Sep 17 00:00:00 2001 From: Bryan Bishop Date: Wed, 28 Aug 2013 16:13:46 -0500 Subject: [PATCH] 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. --- preprocessor.py | 2 -- 1 file changed, 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: