diff options
author | Malek Musleh <malek.musleh@gmail.com> | 2013-05-21 11:57:14 -0500 |
---|---|---|
committer | Malek Musleh <malek.musleh@gmail.com> | 2013-05-21 11:57:14 -0500 |
commit | 64af621cc639d5b43567d3503ec17a0ab3c7ab06 (patch) | |
tree | 68308ecfe5e29a8b68892d68b38802921825e9ed | |
parent | af2e83c7f13098b66ceb6ba69599f1959da44ea1 (diff) | |
download | gem5-64af621cc639d5b43567d3503ec17a0ab3c7ab06.tar.xz |
ruby: slicc: fix error msg in TypeFieldMemberAST.py
-rw-r--r-- | src/mem/slicc/ast/TypeFieldMemberAST.py | 2 |
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)) |