Commit e0c95ad2 authored by Robert Bradshaw's avatar Robert Bradshaw

More graceful fail for fatal-errors option.

parent fa4ab86f
...@@ -140,7 +140,7 @@ def report_error(err): ...@@ -140,7 +140,7 @@ def report_error(err):
echo_file.write(line.encode('ASCII', 'replace')) echo_file.write(line.encode('ASCII', 'replace'))
num_errors = num_errors + 1 num_errors = num_errors + 1
if Options.fatal_errors: if Options.fatal_errors:
sys.exit(1) raise InternalError, "abort"
def error(position, message): def error(position, message):
#print "Errors.error:", repr(position), repr(message) ### #print "Errors.error:", repr(position), repr(message) ###
......
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