From 4486762a8519783aaec7ebe6a391355cd30792e0 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Tue, 19 Jun 2007 17:53:10 +0000 Subject: Make an error message a little more descriptive. --HG-- extra : convert_revision : dbde025b1dcec0083e7276a9938bd21e7ab2887f --- src/arch/micro_asm.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/arch') diff --git a/src/arch/micro_asm.py b/src/arch/micro_asm.py index a8a63e1f8..145029477 100644 --- a/src/arch/micro_asm.py +++ b/src/arch/micro_asm.py @@ -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: -- cgit v1.2.3