From: Malek Musleh Date: Tue, 21 May 2013 16:57:14 +0000 (-0500) Subject: ruby: slicc: fix error msg in TypeFieldMemberAST.py X-Git-Tag: stable_2013_10_14~101 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=64af621cc639d5b43567d3503ec17a0ab3c7ab06;p=gem5.git ruby: slicc: fix error msg in TypeFieldMemberAST.py --- 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))