[Python-checkins] CVS: python/dist/src/Tools/bgen/bgen bgenHeapBuffer.py,1.2,1.3
Jack Jansen
jackjansen@users.sourceforge.net
Wed, 05 Sep 2001 03:27:55 -0700
Update of /cvsroot/python/python/dist/src/Tools/bgen/bgen
In directory usw-pr-cvs1:/tmp/cvs-serv10865/python/Tools/bgen/bgen
Modified Files:
bgenHeapBuffer.py
Log Message:
Only output the buffer size error label if it is used.
Shuts up another couple of gcc warnings.
Index: bgenHeapBuffer.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Tools/bgen/bgen/bgenHeapBuffer.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** bgenHeapBuffer.py 1995/03/10 14:37:52 1.2
--- bgenHeapBuffer.py 2001/09/05 10:27:53 1.3
***************
*** 25,28 ****
--- 25,29 ----
Output('PyErr_NoMemory();')
Output("goto %s__error__;", name)
+ self.label_needed = 1
OutRbrace()
Output("%s__len__ = %s__in_len__;", name, name)