-----Original Message----- From: [email protected] [mailto:[email protected]] Sent: Monday, November 09, 2009 10:33 AM To: Beckmann, Brad Subject: [PATCH 20 of 31] ruby: slicc action error fix
# HG changeset patch # User Brad Beckmann <[email protected]> # Date 1257791383 28800 # Node ID fb38e332eda9f0cc7ff819f0035c88f966ac9f13 # Parent 7c1e8f3ed3d6d8f9767743dc59ba05270ed87020 ruby: slicc action error fix Small fix to the State Machine error message when duplicate actions are defined. diff -r 7c1e8f3ed3d6 -r fb38e332eda9 src/mem/slicc/symbols/StateMachine.py --- a/src/mem/slicc/symbols/StateMachine.py Mon Nov 09 10:29:43 2009 -0800 +++ b/src/mem/slicc/symbols/StateMachine.py Mon Nov 09 10:29:43 2009 -0800 @@ -68,7 +68,7 @@ # Check for duplicate action for other in self.actions.itervalues(): if action.ident == other.ident: - a.warning("Duplicate action definition: %s" % a.ident) + action.warning("Duplicate action definition: %s" % action.ident) action.error("Duplicate action definition: %s" % action.ident) if action.short == other.short: other.warning("Duplicate action shorthand: %s" % other.ident) _______________________________________________ m5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/m5-dev
