changeset 4e611eba2b13 in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=4e611eba2b13
description:
        ruby: slicc action error fix
        Small fix to the State Machine error message when duplicate actions are 
defined.

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
src/mem/slicc/symbols/StateMachine.py |    2 +-

diffs (12 lines):

diff -r b3f2dfbe8006 -r 4e611eba2b13 src/mem/slicc/symbols/StateMachine.py
--- a/src/mem/slicc/symbols/StateMachine.py     Wed Nov 18 13:55:58 2009 -0800
+++ b/src/mem/slicc/symbols/StateMachine.py     Wed Nov 18 13:55:58 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

Reply via email to