From: Finn B. <bc...@us...> - 2002-05-30 19:20:31
|
Update of /cvsroot/jython/jython/Tools/jythonc In directory usw-pr-cvs1:/tmp/cvs-serv31090/Tools/jythonc Modified Files: SrcGenCompiler.py Log Message: Renamed 'assert' to 'assert_' because it is a 1.4 reserved word. Index: SrcGenCompiler.py =================================================================== RCS file: /cvsroot/jython/jython/Tools/jythonc/SrcGenCompiler.py,v retrieving revision 2.1 retrieving revision 2.2 diff -C2 -d -r2.1 -r2.2 *** SrcGenCompiler.py 30 May 2002 16:20:13 -0000 2.1 --- SrcGenCompiler.py 30 May 2002 19:20:28 -0000 2.2 *************** *** 896,900 **** return jast.If(self.frame.getglobal("__debug__").nonzero(), ! jast.InvokeStatic("Py", "assert", args)) def visitReturn(self, node): --- 896,900 ---- return jast.If(self.frame.getglobal("__debug__").nonzero(), ! jast.InvokeStatic("Py", "assert_", args)) def visitReturn(self, node): |