integrate new iter-dict transform
authorStefan Behnel <scoder@users.berlios.de>
Sun, 16 Nov 2008 21:45:33 +0000 (22:45 +0100)
committerStefan Behnel <scoder@users.berlios.de>
Sun, 16 Nov 2008 21:45:33 +0000 (22:45 +0100)
Cython/Compiler/Main.py

index 6c983c1e32898cb30f511978309c5bb1792833a1..eeedfdcebb755c0ae1f2e427778aa41eb3f1d755 100644 (file)
@@ -82,7 +82,8 @@ class Context:
         from ParseTreeTransforms import InterpretCompilerDirectives, TransformBuiltinMethods
         from ParseTreeTransforms import AlignFunctionDefinitions
         from AutoDocTransforms import EmbedSignature
-        from Optimize import FlattenInListTransform, SwitchTransform, FinalOptimizePhase
+        from Optimize import FlattenInListTransform, SwitchTransform, DictIterTransform
+        from Optimize import FinalOptimizePhase
         from Buffer import IntroduceBufferAuxiliaryVars
         from ModuleNode import check_c_declarations
 
@@ -113,6 +114,7 @@ class Context:
             IntroduceBufferAuxiliaryVars(self),
             _check_c_declarations,
             AnalyseExpressionsTransform(self),
+            DictIterTransform(),
             SwitchTransform(),
             FinalOptimizePhase(self),
 #            SpecialFunctions(self),