From ebb591a7ec624acce35d0378201c641724ac8d4c Mon Sep 17 00:00:00 2001 From: Bryan Bishop Date: Sat, 31 Aug 2013 09:56:24 -0500 Subject: make a MacroException more verbose in preprocessor --- preprocessor.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'preprocessor.py') 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( -- cgit v1.2.3