Displaying 1 result from an estimated 1 matches for "common_lint".
2015 Oct 09
3
Python version for scripts in LLVM?
...ung2[-1]:
- print "goto rung2%d;" % (i+2)
+ print("goto rung2%d;" % (i+2))
else:
- print "return *foo;"
- print "}"
+ print("return *foo;")
+ print("}")
if __name__ == '__main__':
main()
Index: lint/common_lint.py
===================================================================
--- lint/common_lint.py (revision 249819)
+++ lint/common_lint.py (working copy)
@@ -2,6 +2,7 @@
#
# Common lint functions applicable to multiple types of files.
+from __future__ import print_function
import re
def Verif...