make a MacroException more verbose in preprocessor

This commit is contained in:
Bryan Bishop 2013-08-31 09:56:24 -05:00
parent 93514b1862
commit ebb591a7ec

View File

@ -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(