From: <fwi...@us...> - 2008-08-13 16:21:21
|
Revision: 5169 http://jython.svn.sourceforge.net/jython/?rev=5169&view=rev Author: fwierzbicki Date: 2008-08-13 16:21:18 +0000 (Wed, 13 Aug 2008) Log Message: ----------- remove comment that is no longer True, thanks to Leo Soto for pointing this out. Modified Paths: -------------- branches/asm/src/org/python/antlr/GrammarActions.java Modified: branches/asm/src/org/python/antlr/GrammarActions.java =================================================================== --- branches/asm/src/org/python/antlr/GrammarActions.java 2008-08-13 14:52:12 UTC (rev 5168) +++ branches/asm/src/org/python/antlr/GrammarActions.java 2008-08-13 16:21:18 UTC (rev 5169) @@ -446,8 +446,6 @@ return new Call(t, func, a, k, starargs, kwargs); } - //FIXME: just calling __neg__ for now - can be better. Also does not parse expressions like - // --2 correctly (should give ^(USub -2) but gives 2). exprType negate(PythonTree t, exprType o) { if (o instanceof Num) { Num num = (Num)o; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |