From: Finn B. <bc...@us...> - 2001-07-29 14:59:16
|
Update of /cvsroot/jython/jython/Tools/jythonc/jast In directory usw-pr-cvs1:/tmp/cvs-serv23530/Tools/jythonc/jast Modified Files: Statement.py Log Message: Patch [ #444911 ] which fixes bug #444292 local var binding overrides fix Index: Statement.py =================================================================== RCS file: /cvsroot/jython/jython/Tools/jythonc/jast/Statement.py,v retrieving revision 2.4 retrieving revision 2.5 diff -C2 -d -r2.4 -r2.5 *** Statement.py 2000/11/08 08:20:16 2.4 --- Statement.py 2001/07/29 14:59:13 2.5 *************** *** 564,567 **** --- 564,576 ---- + class Subscript(UnsafeExpression): + def __init__(self, x, ind): + self.ind = ind + self.x = x + + def sourceString(self): + return "%s[%s]" % (self.x.safeSourceString(), self.ind) + + class InvokeLocal(Expression): |