Update of /cvsroot/jython/jython/org/python/parser
In directory usw-pr-cvs1:/tmp/cvs-serv850/parser
Modified Files:
SimpleNode.java
Log Message:
nested scopes *future* support (as CPython 2.1)
Index: SimpleNode.java
===================================================================
RCS file: /cvsroot/jython/jython/org/python/parser/SimpleNode.java,v
retrieving revision 2.12
retrieving revision 2.13
diff -C2 -r2.12 -r2.13
*** SimpleNode.java 2000/12/04 21:25:06 2.12
--- SimpleNode.java 2001/03/08 23:43:51 2.13
***************
*** 15,18 ****
--- 15,21 ----
public int aug_tmp1, aug_tmp2, aug_tmp3, aug_tmp4;
+ public org.python.compiler.ScopeInfo scope; // for nested scopes
+ public boolean from_future_checked = false; // from __future__ support
+
public SimpleNode(int i) {
id = i;
***************
*** 358,360 ****
}
-
--- 361,362 ----
|