From: <fwi...@us...> - 2009-07-06 13:47:23
|
Revision: 6512 http://jython.svn.sourceforge.net/jython/?rev=6512&view=rev Author: fwierzbicki Date: 2009-07-06 13:47:19 +0000 (Mon, 06 Jul 2009) Log Message: ----------- Fix for http://bugs.jython.org/issue1365 "continuation lines fail in interactive interpreter". Modified Paths: -------------- trunk/jython/NEWS trunk/jython/grammar/PythonPartial.g Modified: trunk/jython/NEWS =================================================================== --- trunk/jython/NEWS 2009-07-05 22:58:57 UTC (rev 6511) +++ trunk/jython/NEWS 2009-07-06 13:47:19 UTC (rev 6512) @@ -5,6 +5,7 @@ - Upgraded to ANTLR 3.1.3 - [ 1859477 ] Dynamically loaded ServletFilters like PyServlet Bugs Fixed + - [ 1365 ] continuation lines fail in interactive interpreter - [ 1377 ] Event names shadowed by a field name on Java types leads to a NPE - [ 1381 ] Redundant declarations of interface implementation hides overriden methods Modified: trunk/jython/grammar/PythonPartial.g =================================================================== --- trunk/jython/grammar/PythonPartial.g 2009-07-05 22:58:57 UTC (rev 6511) +++ trunk/jython/grammar/PythonPartial.g 2009-07-06 13:47:19 UTC (rev 6512) @@ -1047,6 +1047,8 @@ : ('r'|'u'|'ur'|'R'|'U'|'UR'|'uR'|'Ur')? ( '\'\'\'' ~('\'\'\'')* | '"""' ~('"""')* + | '"' (ESC|~('\\'|'\n'|'"'))* CONTINUED_LINE + | '\'' (ESC|~('\\'|'\n'|'\''))* CONTINUED_LINE ) ; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |