| CODENOTIFIER | HelpYou are not signed inSign in |
Project: Jython
Revision: 5236
Author: fwierzbicki
Date: 22 Aug 2008 19:03:45
Changes:Bugfix for expr_contextType on assign values.
Files:| ... | ...@@ -284,9 +284,9 @@ | |
| 284 | 284 | if (o instanceof PythonParser.testlist_return) { |
| 285 | 285 | //XXX: Check to see if this is really happening anymore |
| 286 | 286 | PythonParser.testlist_return r = (PythonParser.testlist_return)o; |
| 287 | e[i] = (exprType)r.getTree(); | |
| 287 | e[i + 1] = (exprType)r.getTree(); | |
| 288 | 288 | } else { |
| 289 | e[i] = (exprType)o; | |
| 289 | e[i + 1] = (exprType)o; | |
| 290 | 290 | } |
| 291 | 291 | } |
| 292 | 292 | return e; |
| ... | ...@@ -300,7 +300,6 @@ | |
| 300 | 300 | |
| 301 | 301 | void recurseSetContext(Tree tree, expr_contextType context) { |
| 302 | 302 | if (tree instanceof Context) { |
| 303 | //XXX: for Tuples, etc -- will need to recursively set to expr_contextType.Load. | |
| 304 | 303 | ((Context)tree).setContext(context); |
| 305 | 304 | } |
| 306 | 305 | for (int i=0; i<tree.getChildCount(); i++) { |