[pypy-svn] r19295 - pypy/dist/pypy/translator/c
tismer at codespeak.net
tismer at codespeak.net
Mon Oct 31 20:50:49 CET 2005
Author: tismer
Date: Mon Oct 31 20:50:48 2005
New Revision: 19295
Modified:
pypy/dist/pypy/translator/c/database.py
Log:
added a flag that tells whether the database is completed
Modified: pypy/dist/pypy/translator/c/database.py
==============================================================================
--- pypy/dist/pypy/translator/c/database.py (original)
+++ pypy/dist/pypy/translator/c/database.py Mon Oct 31 20:50:48 2005
@@ -32,6 +32,7 @@
from pypy.translator.c import gc
gcpolicy = gc.RefcountingGcPolicy
self.gcpolicy = gcpolicy(self, thread_enabled)
+ self.completed = False
def gettypedefnode(self, T, varlength=1):
if varlength <= 1:
@@ -161,6 +162,7 @@
if i == show_i:
dump()
show_i += 1000
+ self.completed = True
if show_progress:
dump()
More information about the Pypy-commit
mailing list