projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa4ab86
)
More graceful fail for fatal-errors option.
author
Robert Bradshaw
<robertwb@math.washington.edu>
Sun, 5 Dec 2010 07:21:54 +0000
(23:21 -0800)
committer
Robert Bradshaw
<robertwb@math.washington.edu>
Sun, 5 Dec 2010 07:21:54 +0000
(23:21 -0800)
Cython/Compiler/Errors.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Errors.py
b/Cython/Compiler/Errors.py
index 39c8097dd629e4320f8e18ef73f65f4f3b4224cb..e2ec1d9e674ed098fe6bc6f41d9d24683d739c59 100644
(file)
--- a/
Cython/Compiler/Errors.py
+++ b/
Cython/Compiler/Errors.py
@@
-140,7
+140,7
@@
def report_error(err):
echo_file.write(line.encode('ASCII', 'replace'))
num_errors = num_errors + 1
if Options.fatal_errors:
- sys.exit(1)
+ raise InternalError, "abort"
def error(position, message):
#print "Errors.error:", repr(position), repr(message) ###