summaryrefslogtreecommitdiff
path: root/src/python/m5/util/code_formatter.py
AgeCommit message (Collapse)Author
2010-09-09code_formatter: make it easier to insert whitespaceNathan Binkert
a newline by just doing "code()". indent() and dedent() now take a "count" parameter to indent/dedent multiple levels.
2010-03-10slicc: have a central mechanism for creating a code_formatter.Nathan Binkert
This makes it easier to add global variables like protocol
2009-09-22code_formatter: use __builtin__ which is correct, not __builtins__Nathan Binkert
2009-08-16code_formatter: Add a python class for writing code generator templatesNathan Binkert