From: Finn B. <bc...@us...> - 2001-07-27 19:50:17
|
Update of /cvsroot/jython/jython/Tools/jythonc In directory usw-pr-cvs1:/tmp/cvs-serv28372 Modified Files: depend.py Log Message: dependencies(): Fix [ #434324 ] jythonc -A and dead java vars Index: depend.py =================================================================== RCS file: /cvsroot/jython/jython/Tools/jythonc/depend.py,v retrieving revision 2.6 retrieving revision 2.7 diff -C2 -d -r2.6 -r2.7 *** depend.py 2000/12/05 19:29:20 2.6 --- depend.py 2001/07/27 19:50:14 2.7 *************** *** 54,58 **** i = 0 ! while i < n: tag = data.readByte() if tag == 1: --- 54,58 ---- i = 0 ! while i < n-1: tag = data.readByte() if tag == 1: *************** *** 80,85 **** types.append(data.readShort()) i = i+1 ! names = {} for c in classes: #print c, strings[c-1] --- 80,103 ---- types.append(data.readShort()) i = i+1 ! data.readShort() # access_flags ! data.readShort() # this_class ! data.readShort() # super_class ! ! interfaces_count = data.readShort() ! for i in range(interfaces_count): ! data.readShort() ! ! fields_count = data.readShort() ! for i in range(fields_count): ! data.readShort() # access_flags ! data.readShort() # name_index ! types.append(data.readShort()) ! attributes_count = data.readShort() ! for j in range(attributes_count): ! data.readShort() # attribute_name_index ! attribute_length = data.readInt() ! data.skip(attribute_length) + names = {} for c in classes: #print c, strings[c-1] |