From: <fwi...@us...> - 2008-08-26 12:21:45
|
Revision: 5249 http://jython.svn.sourceforge.net/jython/?rev=5249&view=rev Author: fwierzbicki Date: 2008-08-26 12:21:42 +0000 (Tue, 26 Aug 2008) Log Message: ----------- Remove unnecessary constructor on BinOp (now it is just the generated version again) Remove some whitespace in Python.g Modified Paths: -------------- branches/nowalker/grammar/Python.g branches/nowalker/src/org/python/antlr/ast/BinOp.java Modified: branches/nowalker/grammar/Python.g =================================================================== --- branches/nowalker/grammar/Python.g 2008-08-26 02:04:27 UTC (rev 5248) +++ branches/nowalker/grammar/Python.g 2008-08-26 12:21:42 UTC (rev 5249) @@ -1261,7 +1261,7 @@ trailer [Token begin] : LPAREN (arglist - -> ^(LPAREN<Call>[$begin, null, actions.makeExprs($arglist.args), + -> ^(LPAREN<Call>[$begin, null, actions.makeExprs($arglist.args), actions.makeKeywords($arglist.keywords), $arglist.starargs, $arglist.kwargs]) | -> ^(LPAREN<Call>[$LPAREN, null, new exprType[0\], new keywordType[0\], null, null]) Modified: branches/nowalker/src/org/python/antlr/ast/BinOp.java =================================================================== --- branches/nowalker/src/org/python/antlr/ast/BinOp.java 2008-08-26 02:04:27 UTC (rev 5248) +++ branches/nowalker/src/org/python/antlr/ast/BinOp.java 2008-08-26 12:21:42 UTC (rev 5249) @@ -13,10 +13,6 @@ public static final String[] _fields = new String[] {"left","op","right"}; - public BinOp(Token token) { - super(token); - } - public BinOp(Token token, exprType left, operatorType op, exprType right) { super(token); this.left = left; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |