summaryrefslogtreecommitdiff
path: root/src/mem/slicc
diff options
context:
space:
mode:
authorMalek Musleh <malek.musleh@gmail.com>2013-05-21 11:57:14 -0500
committerMalek Musleh <malek.musleh@gmail.com>2013-05-21 11:57:14 -0500
commit64af621cc639d5b43567d3503ec17a0ab3c7ab06 (patch)
tree68308ecfe5e29a8b68892d68b38802921825e9ed /src/mem/slicc
parentaf2e83c7f13098b66ceb6ba69599f1959da44ea1 (diff)
downloadgem5-64af621cc639d5b43567d3503ec17a0ab3c7ab06.tar.xz
ruby: slicc: fix error msg in TypeFieldMemberAST.py
Diffstat (limited to 'src/mem/slicc')
-rw-r--r--src/mem/slicc/ast/TypeFieldMemberAST.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem/slicc/ast/TypeFieldMemberAST.py b/src/mem/slicc/ast/TypeFieldMemberAST.py
index 26d3ab2c6..30e2fcda5 100644
--- 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))