Make an error message a little more descriptive.
authorGabe Black <gblack@eecs.umich.edu>
Tue, 19 Jun 2007 17:53:10 +0000 (17:53 +0000)
committerGabe Black <gblack@eecs.umich.edu>
Tue, 19 Jun 2007 17:53:10 +0000 (17:53 +0000)
--HG--
extra : convert_revision : dbde025b1dcec0083e7276a9938bd21e7ab2887f

src/arch/micro_asm.py

index a8a63e1f80ca920e43f3c3ee4f10c7008011404b..14502947750d3628bff32dd38994f0019343b3b3 100644 (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: