changeset 184:b2ba68f717f8

range_analysis: handling pass statements
author Sigurd Meldgaard <stm@daimi.au.dk>
date Wed, 16 Dec 2009 14:29:37 +0100
parents ed8996462be5
children 6a37c03be33b
files pysmcl/range_analysis.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/pysmcl/range_analysis.py	Wed Dec 16 14:28:57 2009 +0100
+++ b/pysmcl/range_analysis.py	Wed Dec 16 14:29:37 2009 +0100
@@ -155,6 +155,8 @@
             def visit_Expr(self, node):
                 return env
 
+            def visit_Pass(self, node):
+                return env
 
             def generic_visit(self, node):
                 assert False, "Not implemented: "+str(type(node))