From: <fwi...@us...> - 2009-01-15 03:22:26
|
Revision: 5932 http://jython.svn.sourceforge.net/jython/?rev=5932&view=rev Author: fwierzbicki Date: 2009-01-15 02:04:31 +0000 (Thu, 15 Jan 2009) Log Message: ----------- Small change to obsessively match CPython AST. Modified Paths: -------------- trunk/jython/grammar/Python.g Modified: trunk/jython/grammar/Python.g =================================================================== --- trunk/jython/grammar/Python.g 2009-01-14 23:56:22 UTC (rev 5931) +++ trunk/jython/grammar/Python.g 2009-01-15 02:04:31 UTC (rev 5932) @@ -1412,9 +1412,9 @@ //sliceop: ':' [test] sliceop : COLON - (test[expr_contextType.Load] - -> test - )? + (test[expr_contextType.Load] -> test + |-> ^(COLON<Name>[$COLON, "None", expr_contextType.Load]) + ) ; //exprlist: expr (',' expr)* [','] This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |