slicc: have a central mechanism for creating a code_formatter.
authorNathan Binkert <nate@binkert.org>
Thu, 11 Mar 2010 00:22:26 +0000 (16:22 -0800)
committerNathan Binkert <nate@binkert.org>
Thu, 11 Mar 2010 00:22:26 +0000 (16:22 -0800)
commitcf86532857ba1e199db6ff16541e7242c6225ff0
treee107e443364bd326d791d2c19e126986cf4aa022
parent1068ca85d0a29bfa71dc6a21a8d6c8888dce4bc3
slicc: have a central mechanism for creating a code_formatter.
This makes it easier to add global variables like protocol
20 files changed:
src/mem/protocol/SConscript
src/mem/slicc/ast/AST.py
src/mem/slicc/ast/ActionDeclAST.py
src/mem/slicc/ast/AssignStatementAST.py
src/mem/slicc/ast/CheckStopSlotsStatementAST.py
src/mem/slicc/ast/ExprAST.py
src/mem/slicc/ast/ExprStatementAST.py
src/mem/slicc/ast/FuncDeclAST.py
src/mem/slicc/ast/IfStatementAST.py
src/mem/slicc/ast/InPortDeclAST.py
src/mem/slicc/ast/InfixOperatorExprAST.py
src/mem/slicc/ast/MemberExprAST.py
src/mem/slicc/ast/MethodCallExprAST.py
src/mem/slicc/ast/OutPortDeclAST.py
src/mem/slicc/parser.py
src/mem/slicc/symbols/Func.py
src/mem/slicc/symbols/StateMachine.py
src/mem/slicc/symbols/SymbolTable.py
src/mem/slicc/symbols/Type.py
src/python/m5/util/code_formatter.py