projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af2e83c
)
ruby: slicc: fix error msg in TypeFieldMemberAST.py
author
Malek Musleh
<malek.musleh@gmail.com>
Tue, 21 May 2013 16:57:14 +0000
(11:57 -0500)
committer
Malek Musleh
<malek.musleh@gmail.com>
Tue, 21 May 2013 16:57:14 +0000
(11:57 -0500)
src/mem/slicc/ast/TypeFieldMemberAST.py
patch
|
blob
|
history
diff --git
a/src/mem/slicc/ast/TypeFieldMemberAST.py
b/src/mem/slicc/ast/TypeFieldMemberAST.py
index 26d3ab2c674fc7e975e0153b9f46faa371cc5c1c..30e2fcda54bf5500570c69c32af23b5c7447210a 100644
(file)
--- a/
src/mem/slicc/ast/TypeFieldMemberAST.py
+++ b/
src/mem/slicc/ast/TypeFieldMemberAST.py
@@
-54,4
+54,4
@@
class TypeFieldMemberAST(TypeFieldAST):
if not type.addDataMember(self.field_id, field_type, self.pairs,
init_code):
- self.error("Duplicate data member: %s:%s" % (
type_ptr,
field_id))
+ self.error("Duplicate data member: %s:%s" % (
field_type, self.
field_id))