From: Finn B. <bc...@us...> - 2001-08-13 18:25:03
|
Update of /cvsroot/jython/jython/org/python/compiler In directory usw-pr-cvs1:/tmp/cvs-serv14579 Modified Files: CodeCompiler.java Log Message: continue_stmt(): Changed exception text to match CPython. Pure to allow test_exception to complete. Index: CodeCompiler.java =================================================================== RCS file: /cvsroot/jython/jython/org/python/compiler/CodeCompiler.java,v retrieving revision 2.16 retrieving revision 2.17 diff -C2 -d -r2.16 -r2.17 *** CodeCompiler.java 2001/07/29 14:59:13 2.16 --- CodeCompiler.java 2001/08/13 18:25:00 2.17 *************** *** 571,575 **** //setline(node); Not needed here... if (continueLabels.empty()) { ! throw new ParseException("'continue' outside loop", node); } --- 571,575 ---- //setline(node); Not needed here... if (continueLabels.empty()) { ! throw new ParseException("'continue' not properly in loop", node); } |