summaryrefslogtreecommitdiff
path: root/src/mem/slicc/symbols
diff options
context:
space:
mode:
authorBrad Beckmann <Brad.Beckmann@amd.com>2009-11-18 13:55:58 -0800
committerBrad Beckmann <Brad.Beckmann@amd.com>2009-11-18 13:55:58 -0800
commit994169327a232a4325d529a7071c295fa39cf7d2 (patch)
treeec90ed5bf1e3cae4a52b1f063f42a446e8458f25 /src/mem/slicc/symbols
parentcc2db929cbdb95168600de42a45a361f3a9e7318 (diff)
downloadgem5-994169327a232a4325d529a7071c295fa39cf7d2.tar.xz
ruby: slicc action error fix
Small fix to the State Machine error message when duplicate actions are defined.
Diffstat (limited to 'src/mem/slicc/symbols')
-rw-r--r--src/mem/slicc/symbols/StateMachine.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem/slicc/symbols/StateMachine.py b/src/mem/slicc/symbols/StateMachine.py
index e54d6a435..8583ed46b 100644
--- a/src/mem/slicc/symbols/StateMachine.py
+++ b/src/mem/slicc/symbols/StateMachine.py
@@ -68,7 +68,7 @@ class StateMachine(Symbol):
# 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)