From: <fwi...@us...> - 2008-12-23 19:56:56
|
Revision: 5795 http://jython.svn.sourceforge.net/jython/?rev=5795&view=rev Author: fwierzbicki Date: 2008-12-23 19:56:53 +0000 (Tue, 23 Dec 2008) Log Message: ----------- Fixed a direct cast to stmt in GrammarActions. Modified Paths: -------------- trunk/jython/src/org/python/antlr/GrammarActions.java Modified: trunk/jython/src/org/python/antlr/GrammarActions.java =================================================================== --- trunk/jython/src/org/python/antlr/GrammarActions.java 2008-12-23 19:35:40 UTC (rev 5794) +++ trunk/jython/src/org/python/antlr/GrammarActions.java 2008-12-23 19:56:53 UTC (rev 5795) @@ -159,7 +159,7 @@ return new ArrayList<stmt>(); } List <stmt> s = new ArrayList<stmt>(); - s.add((stmt)elif); + s.add(castStmt(elif)); return s; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |