Commit 26f95641 authored by Neil Fraser's avatar Neil Fraser

Improve error messages during build.

parent 4fe83ba4
......@@ -261,6 +261,7 @@ class Gen_compressed(threading.Thread):
for error in errors:
print('FATAL ERROR')
print(error['error'])
if error['file']:
print('%s at line %d:' % (
file_lookup(error['file']), error['lineno']))
print(error['line'])
......@@ -272,6 +273,7 @@ class Gen_compressed(threading.Thread):
for warning in warnings:
print('WARNING')
print(warning['warning'])
if warning['file']:
print('%s at line %d:' % (
file_lookup(warning['file']), warning['lineno']))
print(warning['line'])
......
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