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/TypeFieldMethodAST.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/TypeFieldMethodAST.py')
-rw-r--r-- | src/mem/slicc/ast/TypeFieldMethodAST.py | 2 |
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)) |