Update of /cvsroot/jython/jython/org/python/compiler
In directory usw-pr-cvs1:/tmp/cvs-serv31090/org/python/compiler
Modified Files:
CodeCompiler.java
Log Message:
Renamed 'assert' to 'assert_' because it is a 1.4 reserved word.
Index: CodeCompiler.java
===================================================================
RCS file: /cvsroot/jython/jython/org/python/compiler/CodeCompiler.java,v
retrieving revision 2.26
retrieving revision 2.27
diff -C2 -d -r2.26 -r2.27
*** CodeCompiler.java 30 May 2002 16:13:29 -0000 2.26
--- CodeCompiler.java 30 May 2002 19:20:28 -0000 2.27
***************
*** 722,726 ****
if (mrefs.assert2 == 0) {
mrefs.assert2 = code.pool.Methodref(
! "org/python/core/Py", "assert",
"(" + $pyObj + $pyObj + ")V");
}
--- 722,726 ----
if (mrefs.assert2 == 0) {
mrefs.assert2 = code.pool.Methodref(
! "org/python/core/Py", "assert_",
"(" + $pyObj + $pyObj + ")V");
}
***************
*** 729,733 ****
if (mrefs.assert1 == 0) {
mrefs.assert1 = code.pool.Methodref(
! "org/python/core/Py", "assert",
"(" + $pyObj + ")V");
}
--- 729,733 ----
if (mrefs.assert1 == 0) {
mrefs.assert1 = code.pool.Methodref(
! "org/python/core/Py", "assert_",
"(" + $pyObj + ")V");
}
|