| CODENOTIFIER | HelpYou are not signed inSign in |
Project: Jython
Revision: 5217
Author: fwierzbicki
Date: 20 Aug 2008 10:06:30
Changes:Diff:| ... | ...@@ -547,8 +547,8 @@ | |
| 547 | 547 | |
| 548 | 548 | |
| 549 | 549 | //del_stmt: 'del' exprlist |
| 550 | del_stmt : DELETE exprlist2 | |
| 551 | -> ^(DELETE<Delete>[$DELETE, actions.makeExprs($exprlist2.etypes)]) | |
| 550 | del_stmt : DELETE del_list | |
| 551 | -> ^(DELETE<Delete>[$DELETE, actions.makeExprs($del_list.etypes)]) | |
| 552 | 552 | ; |
| 553 | 553 | |
| 554 | 554 | //pass_stmt: 'pass' |
| ... | ...@@ -1115,10 +1115,10 @@ | |
| 1115 | 1115 | } |
| 1116 | 1116 | ; |
| 1117 | 1117 | |
| 1118 | //XXX: I'm hoping I can get rid of this -- but for now I need an exprlist that does not produce tuples | |
| 1118 | //XXX: I'm hoping I can get rid of this and merge it back with exprlist -- but for now I need an exprlist that does not produce tuples | |
| 1119 | 1119 | // at least for del_stmt |
| 1120 | exprlist2 returns [List etypes] | |
| 1121 | : e+=expr[expr_contextType.Load] (options {k=2;}: COMMA e+=expr[expr_contextType.Load])* (COMMA)? | |
| 1120 | del_list returns [List etypes] | |
| 1121 | : e+=expr[expr_contextType.Del] (options {k=2;}: COMMA e+=expr[expr_contextType.Del])* (COMMA)? | |
| 1122 | 1122 | {$etypes = $e;} |
| 1123 | 1123 | ; |
| 1124 | 1124 |