diff options
author | Bryan Bishop <kanzure@gmail.com> | 2013-08-31 09:56:24 -0500 |
---|---|---|
committer | Bryan Bishop <kanzure@gmail.com> | 2013-08-31 09:56:24 -0500 |
commit | ebb591a7ec624acce35d0378201c641724ac8d4c (patch) | |
tree | 00c6f818c3c71486177dce9d2313ef14821b4467 /preprocessor.py | |
parent | 93514b18629fe42c0a2688dac57d90998ea5daaa (diff) |
make a MacroException more verbose in preprocessor
Diffstat (limited to 'preprocessor.py')
-rw-r--r-- | preprocessor.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/preprocessor.py b/preprocessor.py index c6ae137c4..a31386801 100644 --- a/preprocessor.py +++ b/preprocessor.py @@ -520,7 +520,8 @@ def macro_translator(macro, token, line): allowed_length += 2 # bank and label else: raise MacroException( - "dunno what to do with a macro param with a size > 3" + "dunno what to do with a macro param with a size > 3 (size={size})" + .format(size=param_klass.size) ) else: raise MacroException( |