Commit Graph

2 Commits (b0573bd4e4e47125416439ff0be4b38597ae01f4)

Author SHA1 Message Date
Delyan Angelov b7d1a175a8 compiler: print relative paths for user code 2019-10-01 15:39:19 +03:00
Delyan Angelov e72fe25224 compiler: more precise 'declared and not used' error positioning
* compiler: extract and cleanup error handling functionality into its own file compiler/compile_errors.v

* compiler: implement p.error_with_token_index and p.warn_with_token_index and use them. Fix tests.

* tools/performance_compare: add a 'Source lines in compiler/' line

* MSVC does not have STDOUT_FILENO nor STDERR_FILENO ...
2019-09-29 20:37:39 +03:00