changeset 187:ec6a31c28623

range_analysis: accept prints
author Sigurd Meldgaard <stm@daimi.au.dk>
date Wed, 16 Dec 2009 15:20:06 +0100
parents a2d0741e094b
children 4b8cd0370fa7
files pysmcl/range_analysis.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/pysmcl/range_analysis.py	Wed Dec 16 14:45:58 2009 +0100
+++ b/pysmcl/range_analysis.py	Wed Dec 16 15:20:06 2009 +0100
@@ -158,6 +158,9 @@
             def visit_Pass(self, node):
                 return env
 
+            def visit_Print(self, node):
+                return env
+
             def generic_visit(self, node):
                 assert False, "Not implemented: "+str(type(node))