Make an error message a little more descriptive.
--HG-- extra : convert_revision : dbde025b1dcec0083e7276a9938bd21e7ab2887f
This commit is contained in:
parent
ebe4d05f70
commit
4486762a85
|
@ -131,7 +131,8 @@ def handle_statement(parser, container, statement):
|
|||
microop = eval('parser.microops[statement.mnemonic](%s)' %
|
||||
statement.params)
|
||||
except:
|
||||
print_error("Error creating microop object.")
|
||||
print_error("Error creating microop object with mnemonic %s." % \
|
||||
statement.mnemonic)
|
||||
raise
|
||||
try:
|
||||
for label in statement.labels:
|
||||
|
|
Loading…
Reference in a new issue