Commit 565253cd authored by Stefan Behnel's avatar Stefan Behnel

warnings aren't raised, so catching CompileError is enough

parent 75c42021
...@@ -147,7 +147,7 @@ class TreeVisitor(BasicVisitor): ...@@ -147,7 +147,7 @@ class TreeVisitor(BasicVisitor):
self.access_path.append((parent, attrname, idx)) self.access_path.append((parent, attrname, idx))
try: try:
result = self.visit(child) result = self.visit(child)
except (Errors.CompileWarning, Errors.CompileError): except Errors.CompileError:
raise raise
except Exception, e: except Exception, e:
import sys import sys
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment