diff options
author | Brad Beckmann <Brad.Beckmann@amd.com> | 2009-10-26 17:06:32 -0700 |
---|---|---|
committer | Brad Beckmann <Brad.Beckmann@amd.com> | 2009-10-26 17:06:32 -0700 |
commit | 0fdfc82bde5b8975ee93d5da9c604ad9b99942e0 (patch) | |
tree | cc9bb4a3b75804928ce847a8c791e7c079b77a7c /src/mem/slicc/ast/TypeFieldMemberAST.py | |
parent | 1b2d75d6d276f316b8c3f40fa93901ab6233128f (diff) | |
download | gem5-0fdfc82bde5b8975ee93d5da9c604ad9b99942e0.tar.xz |
fixed error message generation bug in SLICC ast files
Diffstat (limited to 'src/mem/slicc/ast/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 285d5b622..a60153664 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.dataMemberAdd(self.field_id, field_type, self.pairs, init_code): - error("Duplicate data member: %s:%s" % (type_ptr, field_id)) + self.error("Duplicate data member: %s:%s" % (type_ptr, field_id)) |