v/compiler
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
..
tests fix pushing to mutable array args 2019-09-29 17:02:28 +03:00
cc.v rename ModPath to v_modules_path; do not allow long variable names without _ 2019-09-29 05:34:17 +03:00
cflags.v compiler: enable FreeBSD's cflags for freetype & glfw 2019-09-28 14:18:04 +03:00
cgen.v compiler: streamline main function handling 2019-09-28 20:42:29 +03:00
cheaders.v cheaders: add DEFAULT_EQUAL for future float eqbit() 2019-09-29 17:39:38 +03:00
compile_errors.v compiler: more precise 'declared and not used' error positioning 2019-09-29 20:37:39 +03:00
comptime.v rename ModPath to v_modules_path; do not allow long variable names without _ 2019-09-29 05:34:17 +03:00
depgraph.v bring back automatic array_free() 2019-09-08 14:50:18 +03:00
fn.v compiler: more precise 'declared and not used' error positioning 2019-09-29 20:37:39 +03:00
gen_c.v compiler: blank identifier for loops. dont declare any variables 2019-09-28 19:53:56 +03:00
gen_js.v compiler: streamline main function handling 2019-09-28 20:42:29 +03:00
jsgen.v remove u8 and i32 aliases 2019-09-01 22:37:22 +03:00
live.v compiler: streamline main function handling 2019-09-28 20:42:29 +03:00
main.v rename ModPath to v_modules_path; do not allow long variable names without _ 2019-09-29 05:34:17 +03:00
modules.v rename ModPath to v_modules_path; do not allow long variable names without _ 2019-09-29 05:34:17 +03:00
msvc.v rename ModPath to v_modules_path; do not allow long variable names without _ 2019-09-29 05:34:17 +03:00
parser.v compiler: more precise 'declared and not used' error positioning 2019-09-29 20:37:39 +03:00
parser2.v parser: do not allow "int?", only "?int" 2019-09-23 23:17:06 +03:00
query.v compiler: rename cerror() to verror(); some small optimizations 2019-09-24 19:38:04 +03:00
repl.v compiler: rename cerror() to verror(); some small optimizations 2019-09-24 19:38:04 +03:00
scanner.v compiler: more precise 'declared and not used' error positioning 2019-09-29 20:37:39 +03:00
table.v compiler: more precise 'declared and not used' error positioning 2019-09-29 20:37:39 +03:00
token.v array: remove temporary repeat2() 2019-09-19 05:22:24 +03:00
vfmt.v bring back "parser: cache tokens (first step)" 2019-09-27 04:00:48 +03:00
vhelp.v fix vhelp.v 2019-09-15 14:15:31 +03:00