summaryrefslogtreecommitdiff
path: root/src/mem/slicc/ast/DeclAST.py
diff options
context:
space:
mode:
authorSteve Reinhardt <steve.reinhardt@amd.com>2009-11-05 11:11:06 -0800
committerSteve Reinhardt <steve.reinhardt@amd.com>2009-11-05 11:11:06 -0800
commit9098010e3fccf779786c7f0e1dfab9d522f72eb5 (patch)
tree688b989cf6d6d0fd081143835c3b5ba55b469c8d /src/mem/slicc/ast/DeclAST.py
parent058ccfc7fe7be1b7b7124ecdd0d9d79fe4d6a86f (diff)
downloadgem5-9098010e3fccf779786c7f0e1dfab9d522f72eb5.tar.xz
slicc: tweak file enumeration for scons
Right now .cc and .hh files are handled separately, but then they're just munged together at the end by scons, so it doesn't buy us anything. Might as well munge from the start since we'll eventually be adding generated Python files to the list too.
Diffstat (limited to 'src/mem/slicc/ast/DeclAST.py')
-rw-r--r--src/mem/slicc/ast/DeclAST.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mem/slicc/ast/DeclAST.py b/src/mem/slicc/ast/DeclAST.py
index 2303725a3..1adb31321 100644
--- a/src/mem/slicc/ast/DeclAST.py
+++ b/src/mem/slicc/ast/DeclAST.py
@@ -31,8 +31,8 @@ class DeclAST(AST):
def __init__(self, slicc, pairs):
super(DeclAST, self).__init__(slicc, pairs)
- def files(self, hh, cc, parent=None):
- pass
+ def files(self, parent=None):
+ return set()
def findMachines(self):
return