projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc2db92
)
ruby: slicc action error fix
author
Brad Beckmann
<Brad.Beckmann@amd.com>
Wed, 18 Nov 2009 21:55:58 +0000
(13:55 -0800)
committer
Brad Beckmann
<Brad.Beckmann@amd.com>
Wed, 18 Nov 2009 21:55:58 +0000
(13:55 -0800)
Small fix to the State Machine error message when duplicate actions are defined.
src/mem/slicc/symbols/StateMachine.py
patch
|
blob
|
history
diff --git
a/src/mem/slicc/symbols/StateMachine.py
b/src/mem/slicc/symbols/StateMachine.py
index e54d6a435dbe8e2f65d823863ee4d20ef6a999de..8583ed46b0073c1fb0b51a3caa4524c3809e9351 100644
(file)
--- 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)
+ a
ction.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)