diff python/c3/visitor.py @ 186:46d62dadd61b

Improved testsuite
author Windel Bouwman
date Sat, 25 May 2013 14:26:25 +0200
parents 5fd02aa38b42
children c1ccb1cb4cef
line wrap: on
line diff
--- a/python/c3/visitor.py	Fri May 24 20:45:03 2013 +0200
+++ b/python/c3/visitor.py	Sat May 25 14:26:25 2013 +0200
@@ -44,7 +44,6 @@
          self.visit(node.condition)
          self.visit(node.dostatement)
       else:
-         print('UNK visit "{0}"'.format(node))
+         raise Exception('UNK visit "{0}"'.format(node))
       self.f2(node)
 
-