summaryrefslogtreecommitdiff
path: root/src/mem/slicc/ast/TypeFieldMethodAST.py
diff options
context:
space:
mode:
authorBrad Beckmann <Brad.Beckmann@amd.com>2009-10-26 17:06:32 -0700
committerBrad Beckmann <Brad.Beckmann@amd.com>2009-10-26 17:06:32 -0700
commit0fdfc82bde5b8975ee93d5da9c604ad9b99942e0 (patch)
treecc9bb4a3b75804928ce847a8c791e7c079b77a7c /src/mem/slicc/ast/TypeFieldMethodAST.py
parent1b2d75d6d276f316b8c3f40fa93901ab6233128f (diff)
downloadgem5-0fdfc82bde5b8975ee93d5da9c604ad9b99942e0.tar.xz
fixed error message generation bug in SLICC ast files
Diffstat (limited to 'src/mem/slicc/ast/TypeFieldMethodAST.py')
-rw-r--r--src/mem/slicc/ast/TypeFieldMethodAST.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem/slicc/ast/TypeFieldMethodAST.py b/src/mem/slicc/ast/TypeFieldMethodAST.py
index 337b15597..2c8cf3f7b 100644
--- a/src/mem/slicc/ast/TypeFieldMethodAST.py
+++ b/src/mem/slicc/ast/TypeFieldMethodAST.py
@@ -47,4 +47,4 @@ class TypeFieldMethodAST(TypeFieldAST):
# Add method
if not type.methodAdd(self.ident, return_type, types):
- error("Duplicate method: %s:%s()" % (type, self.ident))
+ self.error("Duplicate method: %s:%s()" % (type, self.ident))