v/compiler
Delyan Angelov 2b087dbf95 backtraces: add source line numbers too on linux
* Add source line numbers to backtraces on linux.

* Fix -g (broken after token caching).

* reset the #line directives after all the v code is compiled

* cleanup p.cgen.line setting inside p.next() .

* Support windows filepaths like "C:\Users\travis\build\vlang\v\v.exe.tmp.c" inside generated #line directives.

* Try to diagnose better windows-gcc failing.

* Revert "Try to diagnose better windows-gcc failing."

* implement and use cescaped_path/1 .

* Use cescaped_path/1 consistently throughout compiler/ .
2019-10-12 00:04:42 +03:00
..
tests parser: allow multi returns in high order fns 2019-10-09 20:55:36 +03:00
cc.v compiler: cache modules if they are not built yet 2019-10-10 22:53:59 +03:00
cflags.v compiler: enable FreeBSD's cflags for freetype & glfw 2019-09-28 14:18:04 +03:00
cgen.v backtraces: add source line numbers too on linux 2019-10-12 00:04:42 +03:00
cheaders.v term: colors on Windows console 2019-10-10 20:08:36 +03:00
compile_errors.v module cache fixes; do not allow function names starting with _ 2019-10-10 00:44:26 +03:00
comptime.v compiler: make V compilable wit the tcc backend 2019-10-11 06:49:53 +03:00
depgraph.v bring back automatic array_free() 2019-09-08 14:50:18 +03:00
fn.v backtraces: add source line numbers too on linux 2019-10-12 00:04:42 +03:00
gen_c.v array/map: use get() instead of _get() etc 2019-10-10 01:07:00 +03:00
gen_js.v parser: add v error if assigning var to blank identifier `_` 2019-10-01 15:40:11 +03:00
jsgen.v array/map: use get() instead of _get() etc 2019-10-10 01:07:00 +03:00
live.v backtraces: add source line numbers too on linux 2019-10-12 00:04:42 +03:00
main.v backtraces: add source line numbers too on linux 2019-10-12 00:04:42 +03:00
module_header.v fix 'v -debug examples/hello_world.v' 2019-10-10 20:02:32 +03:00
modules.v compiler: improve module import error messages 2019-10-08 02:32:12 +03:00
msvc.v compiler: make V compilable wit the tcc backend 2019-10-11 06:49:53 +03:00
optimization.v optimize `a in [1,2,3]` to `a == 1 || a == 2 || a == 3` 2019-10-06 06:07:38 +03:00
parser.v backtraces: add source line numbers too on linux 2019-10-12 00:04:42 +03:00
parser2.v parser: do not allow "int?", only "?int" 2019-09-23 23:17:06 +03:00
query.v array/map: use get() instead of _get() etc 2019-10-10 01:07:00 +03:00
repl.v repl: handle print and one-line conditions 2019-10-06 17:21:10 +03:00
scanner.v backtraces: add source line numbers too on linux 2019-10-12 00:04:42 +03:00
table.v runtime: nr_cpus() 2019-10-11 13:47:56 +03:00
token.v compiler: rename Tok/Token to Token/TokenKind 2019-10-09 01:05:34 +03:00
vfmt.v compiler: rename Tok/Token to Token/TokenKind 2019-10-09 01:05:34 +03:00
vhelp.v caching modules: almost there 2019-10-09 06:35:58 +03:00
vtest.v v test: add ability to test a folder or a set of _test.v files 2019-10-09 06:01:43 +03:00