From: <fwi...@us...> - 2008-08-14 00:07:35
|
Revision: 5173 http://jython.svn.sourceforge.net/jython/?rev=5173&view=rev Author: fwierzbicki Date: 2008-08-14 00:07:31 +0000 (Thu, 14 Aug 2008) Log Message: ----------- Add EOF check for file_input. Modified Paths: -------------- branches/asm/grammar/Python.g Modified: branches/asm/grammar/Python.g =================================================================== --- branches/asm/grammar/Python.g 2008-08-13 23:35:12 UTC (rev 5172) +++ branches/asm/grammar/Python.g 2008-08-14 00:07:31 UTC (rev 5173) @@ -293,7 +293,7 @@ ; //file_input: (NEWLINE | stmt)* ENDMARKER -file_input : (NEWLINE | stmt)* {debug("parsed file_input");} +file_input : (NEWLINE | stmt)* EOF -> ^(Module stmt*) ; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |