From: <fwi...@us...> - 2009-01-05 21:05:09
|
Revision: 5856 http://jython.svn.sourceforge.net/jython/?rev=5856&view=rev Author: fwierzbicki Date: 2009-01-05 21:05:05 +0000 (Mon, 05 Jan 2009) Log Message: ----------- use text instead of getText() to handle null. Modified Paths: -------------- branches/jy3k/grammar/Python.g Modified: branches/jy3k/grammar/Python.g =================================================================== --- branches/jy3k/grammar/Python.g 2009-01-05 19:58:51 UTC (rev 5855) +++ branches/jy3k/grammar/Python.g 2009-01-05 21:05:05 UTC (rev 5856) @@ -908,7 +908,7 @@ //except_clause: 'except' [test ['as' NAME]] except_clause : EXCEPT (test[expr_contextType.Load] (AS NAME)?)? COLON suite[!$suite.isEmpty() && $suite::continueIllegal] - -> ^(EXCEPT<ExceptHandler>[$EXCEPT, actions.castExpr($test.tree), $NAME.getText(), + -> ^(EXCEPT<ExceptHandler>[$EXCEPT, actions.castExpr($test.tree), $NAME.text, actions.castStmts($suite.stypes)]) ; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |