Make an error message a little more descriptive.

--HG--
extra : convert_revision : dbde025b1dcec0083e7276a9938bd21e7ab2887f
This commit is contained in:
Gabe Black 2007-06-19 17:53:10 +00:00
parent ebe4d05f70
commit 4486762a85

View file

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