Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-03-06 | scons: Switch from the print statement to the print function. | Gabe Black | |
Starting with version 3, scons imposes using the print function instead of the print statement in code it processes. To get things building again, this change moves all python code within gem5 to use the function version. Another change by another author separately made this same change to the site_tools and site_init.py files. Change-Id: I2de7dc3b1be756baad6f60574c47c8b7e80ea3b0 Reviewed-on: https://gem5-review.googlesource.com/8761 Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Maintainer: Gabe Black <gabeblack@google.com> | |||
2010-09-09 | code_formatter: make it easier to insert whitespace | Nathan Binkert | |
a newline by just doing "code()". indent() and dedent() now take a "count" parameter to indent/dedent multiple levels. | |||
2010-03-10 | slicc: have a central mechanism for creating a code_formatter. | Nathan Binkert | |
This makes it easier to add global variables like protocol | |||
2009-09-22 | code_formatter: use __builtin__ which is correct, not __builtins__ | Nathan Binkert | |
2009-08-16 | code_formatter: Add a python class for writing code generator templates | Nathan Binkert | |