From 64af621cc639d5b43567d3503ec17a0ab3c7ab06 Mon Sep 17 00:00:00 2001 From: Malek Musleh Date: Tue, 21 May 2013 11:57:14 -0500 Subject: [PATCH] ruby: slicc: fix error msg in TypeFieldMemberAST.py --- src/mem/slicc/ast/TypeFieldMemberAST.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- 2.30.2