code_formatter: make it easier to insert whitespace
authorNathan Binkert <nate@binkert.org>
Thu, 9 Sep 2010 21:15:41 +0000 (14:15 -0700)
committerNathan Binkert <nate@binkert.org>
Thu, 9 Sep 2010 21:15:41 +0000 (14:15 -0700)
commitc514ad9b097ef73b14abbf4f5af3617c54dbb154
tree6bf06e38238e9b3367cb21db4288047792c8c52d
parent18ef1bcfa23a4e582e37cb9e806b06e9a6c13b53
code_formatter: make it easier to insert whitespace
a newline by just doing "code()". indent() and dedent() now take a
"count" parameter to indent/dedent multiple levels.
src/mem/slicc/symbols/StateMachine.py
src/python/m5/util/code_formatter.py