Commit d896ec4f authored by Stefan Behnel's avatar Stefan Behnel

Fix a typo that prevented UtilityCode.get_tree(entries_only=True) from working...

Fix a typo that prevented UtilityCode.get_tree(entries_only=True) from working as expected. It looks like this doesn't make a difference for the generated C code (at least for the pickling, C++ STL and memoryview tests), but it should reduce the time it takes to collect the symtab entries defined in the tree.
parent 04034e28
......@@ -131,7 +131,7 @@ class CythonUtilityCode(Code.UtilityCodeBase):
p = []
for t in pipeline:
p.append(t)
if isinstance(p, ParseTreeTransforms.AnalyseDeclarationsTransform):
if isinstance(t, ParseTreeTransforms.AnalyseDeclarationsTransform):
break
pipeline = p
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment