Update of /cvsroot/jython/jython/Tools/jythonc/jast
In directory slayer.i.sourceforge.net:/tmp/cvs-serv27808
Modified Files:
Statement.py
Log Message:
TryCatches.exits(): Fix a bug "TryCatches instance has attribute
catchbody". Looks like this methods had been copied from the
TryCatch class
Index: Statement.py
===================================================================
RCS file: /cvsroot/jython/jython/Tools/jythonc/jast/Statement.py,v
retrieving revision 2.3
retrieving revision 2.4
diff -C2 -r2.3 -r2.4
*** Statement.py 2000/10/13 19:11:18 2.3
--- Statement.py 2000/11/08 08:20:16 2.4
***************
*** 279,284 ****
def exits(self):
! return self.body.exits() and self.catchbody.exits()
!
--- 279,286 ----
def exits(self):
! r = self.body.exits()
! for exctype, excname, catchbody in self.catches:
! r = r and catchbody.exits()
! return r
|