Henrixounez
|
0f1ed1ca09
|
scanner: add an error for unfinished string literals (#6519)
|
2020-10-01 16:40:59 +03:00 |
Alexander Medvednikov
|
624f22e27e
|
all: mutability check (part 1); enable mutable sumtype args
|
2020-09-22 05:28:29 +02:00 |
Swastik Baranwal
|
077b597bd8
|
scanner/parser: change error msgs for `\0` and `\x00` and add error for r`byte` and c`byte` (#6436)
|
2020-09-21 17:34:24 +03:00 |
Swastik Baranwal
|
1c886ad067
|
scanner: add check for `!is_raw` for null `\0` (#6427)
|
2020-09-19 19:09:18 +03:00 |
Henrixounez
|
99574e465d
|
scanner: allow escape on null character (#6404)
|
2020-09-18 01:02:06 +02:00 |
Daniel Däschle
|
3a146a6dbe
|
checker: fix error pos on default value (#6338)
|
2020-09-09 15:34:41 +02:00 |
Delyan Angelov
|
47f59d3fb6
|
v.scanner: fix error line numbers when comments end with CRLF
|
2020-08-26 11:39:32 +03:00 |
Nick Treleaven
|
98c39a37c0
|
scanner: warn about interpolation for `$f(expr)` (#6179)
|
2020-08-22 05:48:06 +02:00 |
Uwe Krüger
|
9a5f040f72
|
all: handle `<-` arrow token for channel operations (#6152)
|
2020-08-17 20:12:00 +02:00 |
Delyan Angelov
|
36eae1c175
|
builtin: x.vstring() instead of string(x) (#6102)
|
2020-08-10 18:05:26 +02:00 |
Maciej Michalec
|
449c98e861
|
scanner: floats without fraction (fix #5262) (#6064)
|
2020-08-05 05:11:29 +02:00 |
Swastik Baranwal
|
8b66816bdc
|
scanner: more checks for `_` as num_sep (#5992)
|
2020-07-28 16:09:19 +10:00 |
Delyan Angelov
|
a552674254
|
vvet: fix segfault on `v vet .`
|
2020-07-25 15:57:57 +03:00 |
Alexander Medvednikov
|
632e27a4a9
|
all: fix a big mutability bug and update all mutable vars
|
2020-07-23 23:16:36 +02:00 |
Enzo
|
8a855ccae1
|
fmt,vet: handle `var in [single_value]` (#5882)
|
2020-07-19 19:58:34 +02:00 |
Swastik Baranwal
|
f3a505b558
|
scanner: add check for `_` in num literals (#5849)
|
2020-07-16 17:29:07 +03:00 |
Delyan Angelov
|
c891014c77
|
scanner: reduce memory, increase speed for long commented sections
|
2020-07-11 21:27:39 +03:00 |
Delyan Angelov
|
022cc72740
|
scanner: parse multiple comments and long strings without a stackoverflow
|
2020-07-11 20:52:08 +03:00 |
Alexander Medvednikov
|
2a696cb837
|
vet: prohibit spaces before `)`
|
2020-07-11 12:14:19 +02:00 |
Alexander Medvednikov
|
d4d552fb00
|
vet: prohibit spaces after `(`
|
2020-07-11 11:41:39 +02:00 |
Delyan Angelov
|
2fb5c91f4d
|
scanner: remove error check for embedded \x00 chars in c'literals'
|
2020-07-10 21:42:03 +03:00 |
Delyan Angelov
|
d2a2db7bff
|
vfmt: format scanner.v
|
2020-07-04 16:14:30 +03:00 |
Uwe Krüger
|
6c022db786
|
scanner: fix string interpolation for '$a.b().c' (#5612)
|
2020-07-02 00:02:59 +02:00 |
yuyi
|
2f614ad79f
|
parser: optimize cross assign using expr.str() (#5604)
|
2020-07-01 16:43:13 +02:00 |
yuyi
|
6c5b638202
|
parser: fix array cross assign (fix #5577) (#5591)
|
2020-07-01 12:11:03 +02:00 |
Delyan Angelov
|
fcd73bcb63
|
scanner: ignore CR signs in string literals
|
2020-06-23 21:10:58 +03:00 |
Uwe Krüger
|
3b6e66db0d
|
fmt: further fixes for string interpolation and builtin macros
|
2020-06-18 18:48:23 +02:00 |
Adam Stankiewicz
|
b3fc462a78
|
scanner: fix parsing multiple .amp
|
2020-06-13 00:01:44 +02:00 |
Delyan Angelov
|
8d3f680d07
|
vdoc: implement .toplevel_comments parsing mode
|
2020-06-06 19:05:26 +03:00 |
joe-conigliaro
|
34af7ccba9
|
scanner: cut keyword lookups in half
|
2020-06-06 19:49:50 +10:00 |
Alexander Medvednikov
|
fb3e52ca63
|
all: `!is` operator
|
2020-06-02 16:18:12 +02:00 |
Delyan Angelov
|
86862d6a94
|
checker: remove mod_file_cacher exception
|
2020-06-01 17:43:03 +03:00 |
Delyan Angelov
|
75b8822f06
|
scanner: prevent infinite looping, when reaching .eof due to parser bugs
|
2020-05-28 19:22:11 +03:00 |
Delyan Angelov
|
f6bdb3ae81
|
v.vmod: cleanup vmod.mod_file_cacher API
|
2020-05-28 01:38:11 +03:00 |
Larpon
|
6ca53d7b39
|
scanner: improve @FN substitution for anon functions
|
2020-05-27 12:05:50 +03:00 |
Uwe Krüger
|
013fdb8a4b
|
checker: restrict numeric promotions to cases where no data is lost
|
2020-05-27 05:42:48 +02:00 |
yuyi
|
23c0bb600c
|
scanner: fix vmod_file on windows
|
2020-05-27 03:32:39 +02:00 |
Delyan Angelov
|
3cfdd2a4cd
|
scanner: add support for @VMOD_FILE
|
2020-05-26 23:39:15 +03:00 |
Larpon
|
31ba64b409
|
scanner: add support for `@STRUCT` compile time substitution
|
2020-05-26 15:35:11 +02:00 |
Delyan Angelov
|
b0cfd3fa67
|
parser: reimplement [flag] enum support. Add p.vcodegen too
|
2020-05-26 00:00:48 +03:00 |
Larpon
|
09dc2eed82
|
scanner: add support for '@MOD'
|
2020-05-25 19:33:41 +03:00 |
Ruofan XU
|
b2b0461218
|
scanner: fix err pos related to num literal
|
2020-05-21 18:43:57 +02:00 |
Ruofan XU
|
aba09a7e4d
|
scanner: fix err pos related to num literals
|
2020-05-21 16:20:36 +03:00 |
Delyan Angelov
|
ac396ea02f
|
http: cleanup backend_nix.c.v, fixes vpm too
|
2020-05-20 12:04:28 +03:00 |
yuyi
|
7f4cf08516
|
parser: check `(mut f Foo)` syntax
|
2020-05-17 13:51:18 +02:00 |
Larpon
|
aa30549337
|
scanner: fill out '@FN' placeholder at compile time while scanning
|
2020-05-16 14:20:19 +02:00 |
yuyi
|
b1511ce995
|
parser: optimize no main file process
|
2020-05-13 14:02:04 +02:00 |
eyelash
|
72dfe11fa5
|
scanner: add a colon to error messages (#4818)
|
2020-05-10 16:29:15 +02:00 |
Alexander Medvednikov
|
c64f8b0d1f
|
parser/checker: pub: struct fields
|
2020-05-09 15:16:48 +02:00 |
yuyi
|
e0e064ff08
|
scanner: fix string slash line breaks error
|
2020-05-04 10:19:23 +02:00 |