1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/vlib/term
Delyan Angelov 8b8cd13929 parser: add some infrastructure for more specific errors
* compiler: change s.line_nr in just one place, so that s.last_nl_pos will be updated in tandem too.

* Cleanup spurious spaces.

* Store ScannerPos info inside the cached tokens.

Use the stored information when errors are encountered.

* Fix #2079 ( cannot use type...in assignment ).

* do not store scannerpos per each token, instead rescan the source once on error to get the position.

* compiler: implement highlighting for errors. Use only line/col info stored in the cached tokens.

* fixing building on windows

* Split can_show_color to _nix and _win files.
2019-09-29 04:33:23 +03:00
..
can_show_color_nix.v parser: add some infrastructure for more specific errors 2019-09-29 04:33:23 +03:00
can_show_color_win.v parser: add some infrastructure for more specific errors 2019-09-29 04:33:23 +03:00
colors_nix.v remove u8 and i32 from tests and examples 2019-09-02 15:02:25 +03:00
colors_win.v compiler: error on unused imports 2019-09-23 13:42:20 +03:00
colors.v compiler: error on unused imports 2019-09-23 13:42:20 +03:00
control.v vlib: fix several typos 2019-09-14 23:54:14 +03:00