summaryrefslogtreecommitdiff
path: root/src/mem
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem')
-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))