From: <fwi...@us...> - 2009-07-28 13:57:15
|
Revision: 6596 http://jython.svn.sourceforge.net/jython/?rev=6596&view=rev Author: fwierzbicki Date: 2009-07-28 13:57:07 +0000 (Tue, 28 Jul 2009) Log Message: ----------- Make diff w/Python.g smaller. Modified Paths: -------------- trunk/jython/grammar/Base.g Modified: trunk/jython/grammar/Base.g =================================================================== --- trunk/jython/grammar/Base.g 2009-07-28 13:29:09 UTC (rev 6595) +++ trunk/jython/grammar/Base.g 2009-07-28 13:57:07 UTC (rev 6596) @@ -1143,6 +1143,8 @@ $channel=HIDDEN; } } + } else if (this.single && newlines == 1) { + throw new ParseException("Trailing space in single mode."); } else { // make a string of n newlines char[] nls = new char[newlines]; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |