v/compiler
lutherwenxu 5c79c0e743 compiler: enforce reserved keywords replacement
* compiler: Enforce reserved keywords replacement on empty value initialization

* compiler: Add test for reserved keywords enforcement

A new struct has been introduced in the tests that contains all C reserved keywords that are not reserved in V. Some read and write are tested too.
2019-09-28 14:13:09 +03:00
..
tests compiler: enforce reserved keywords replacement 2019-09-28 14:13:09 +03:00
cc.v solaris: add -lm 2019-09-27 00:53:57 +03:00
cflags.v compiler: compile thirdparty object files using module specific flags 2019-09-23 00:51:59 +03:00
cgen.v solaris support 2019-09-27 00:23:27 +03:00
cheaders.v windows: Unicode and IPv6 http/sockets 2019-09-26 22:54:15 +03:00
comptime.v compiler: make vgen use strings.Builder & allow parser creation from string 2019-09-27 14:02:01 +03:00
depgraph.v bring back automatic array_free() 2019-09-08 14:50:18 +03:00
fn.v compiler: remove old generics hack; disable generics and repl tests for 2019-09-28 02:29:04 +03:00
gen_c.v parser: fix a few things in with blank ident 2019-09-26 14:09:59 +03:00
gen_js.v parser: fix a few things in with blank ident 2019-09-26 14:09:59 +03:00
jsgen.v remove u8 and i32 aliases 2019-09-01 22:37:22 +03:00
live.v compiler: fix live reload on win with auto completed filename `.\file.v` 2019-09-21 17:08:48 +03:00
main.v compiler: clean up. remove new_parser_string_id (#2140) 2019-09-28 04:56:05 +03:00
modules.v compiler: rename cerror() to verror(); some small optimizations 2019-09-24 19:38:04 +03:00
msvc.v compiler/vlib: add error for no new vars in loop ("_,_") & remove "." from errors 2019-09-25 17:59:50 +03:00
parser.v compiler: enforce reserved keywords replacement 2019-09-28 14:13:09 +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: remove old generics hack; disable generics and repl tests for 2019-09-28 02:29:04 +03:00
table.v compiler: make vgen use strings.Builder & allow parser creation from string 2019-09-27 14:02:01 +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