1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/vlib
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
..
benchmark testing: always show benchmarks 2019-09-16 18:27:55 +03:00
bitfield vlib: change [0;n] to [0].repeat(n) 2019-09-15 12:26:05 +03:00
builtin tooling: add tools/compare_v_performance_between_commits 2019-09-28 14:17:16 +03:00
crypto crypto.md5: fix u64 modulus operation 2019-09-28 14:02:57 +03:00
darwin compiler: small fixes + some logic for freeing strings 2019-09-26 03:24:58 +03:00
encoding fix base64 test 2019-09-28 22:23:22 +03:00
flag tooling: add tools/compare_v_performance_between_commits 2019-09-28 14:17:16 +03:00
freetype compiler: enable FreeBSD's cflags for freetype & glfw 2019-09-28 14:18:04 +03:00
gg vlib: fix several typos 2019-09-14 23:54:14 +03:00
gl compiler: error on unused imports 2019-09-23 13:42:20 +03:00
glfw compiler: enable FreeBSD's cflags for freetype & glfw 2019-09-28 14:18:04 +03:00
glm compiler: error on unused imports 2019-09-23 13:42:20 +03:00
gx move all vlib modules to vlib/ 2019-06-29 12:00:31 +02:00
hash hash.crc32: change *Crc32 to &Crc32 2019-09-13 22:45:04 +03:00
http darwin: use system ssl headers 2019-09-27 01:35:25 +03:00
json json: use & 2019-09-02 19:17:05 +03:00
log log: add seconds to terminal output too. 2019-08-30 13:06:02 +03:00
math f64: fix .eq() 2019-09-28 14:04:03 +03:00
mysql mysql: make compile 2019-09-26 03:18:26 +03:00
net windows: Unicode and IPv6 http/sockets 2019-09-26 22:54:15 +03:00
orm orm_test: remove pg import for now 2019-08-18 15:02:36 +03:00
os fix os_win.v 2019-09-29 04:16:15 +03:00
pg pg: update optional return syntax 2019-09-26 14:23:29 +03:00
rand rand: add pcg32 and splitmix64 implementations 2019-09-23 00:50:22 +03:00
readline readline: utf8 compatibility 2019-09-23 13:43:24 +03:00
stbi compiler: error on unused imports 2019-09-23 13:42:20 +03:00
strings strings: simplify repeat() 2019-09-25 22:08:51 +03:00
sync compiler: error on unused imports 2019-09-23 13:42:20 +03:00
szip compiler/vlib: add error for no new vars in loop ("_,_") & remove "." from errors 2019-09-25 17:59:50 +03:00
term parser: add some infrastructure for more specific errors 2019-09-29 04:33:23 +03:00
time operator | not defined on bool 2019-09-15 19:35:48 +03:00
ui compiler: free local_vars 2019-09-23 22:16:52 +03:00
vweb compiler/vlib: add error for no new vars in loop ("_,_") & remove "." from errors 2019-09-25 17:59:50 +03:00