disable crash report for normal compiler errors
authorStefan Behnel <scoder@users.berlios.de>
Sun, 18 Jan 2009 18:06:33 +0000 (19:06 +0100)
committerStefan Behnel <scoder@users.berlios.de>
Sun, 18 Jan 2009 18:06:33 +0000 (19:06 +0100)
Cython/Compiler/Visitor.py

index 102c5b0544b0b2db525413afdcb28652be0873cd..efd8ac97fe2b4a8ad3c97c445a2c74a5d868058f 100644 (file)
@@ -147,7 +147,7 @@ class TreeVisitor(BasicVisitor):
         self.access_path.append((parent, attrname, idx))
         try:
             result = self.visit(child)
-        except Errors.CompilerCrash:
+        except (Errors.CompileWarning, Errors.CompileError):
             raise
         except Exception, e:
             import sys