diff options
author | Brad Beckmann <Brad.Beckmann@amd.com> | 2009-11-18 13:55:58 -0800 |
---|---|---|
committer | Brad Beckmann <Brad.Beckmann@amd.com> | 2009-11-18 13:55:58 -0800 |
commit | 994169327a232a4325d529a7071c295fa39cf7d2 (patch) | |
tree | ec90ed5bf1e3cae4a52b1f063f42a446e8458f25 /src/mem | |
parent | cc2db929cbdb95168600de42a45a361f3a9e7318 (diff) | |
download | gem5-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')
-rw-r--r-- | src/mem/slicc/symbols/StateMachine.py | 2 |
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) |