Uwe Krüger
|
46379d92f4
|
fmt: force break in front of long unbreakable parts, avoid very small sub-expressions
|
2020-06-25 22:24:28 +02:00 |
|
Uwe Krüger
|
bdecbc1945
|
fmt: use -1 for *really* no precedence, since & and | have precedence 0
|
2020-06-25 02:39:33 +02:00 |
|
Uwe Krüger
|
eb68c222fe
|
fmt: fix weird bug with tabs in string inpertolation
|
2020-06-24 20:40:29 +02:00 |
|
Uwe Krüger
|
0018e44102
|
fmt: further improvements by taking precedence into account for subexpressions
|
2020-06-24 15:19:30 +02:00 |
|
Alexander Medvednikov
|
11871d9544
|
fmt: re-run on parser.v and fmt.v
|
2020-06-24 14:35:00 +02:00 |
|
Daniel Däschle
|
852fca2151
|
all: call anon fns right away
|
2020-06-24 12:54:39 +02:00 |
|
Uwe Krüger
|
56749877ea
|
fmt: fix handling of double quotes inside single quotes
|
2020-06-23 23:59:58 +02:00 |
|
ka-weihe
|
4e447db883
|
parser/fmt: fix comments in structs/consts
|
2020-06-23 18:01:56 +02:00 |
|
Uwe Krüger
|
000eaca6be
|
fmt: avoid breaking lines with <= 100 characters
|
2020-06-23 17:54:39 +02:00 |
|
Alexander Medvednikov
|
e65879d076
|
fmt: fix compilation
|
2020-06-21 23:23:31 +02:00 |
|
Uwe Krüger
|
0338d4153a
|
fmt: make linebreak smarter by algorithm based on penalty
|
2020-06-19 19:54:26 +02:00 |
|
Alexander Medvednikov
|
cd8392e42d
|
orm: insert
|
2020-06-19 16:43:35 +02:00 |
|
Alexander Medvednikov
|
d04554f0b7
|
all: more match updates
|
2020-06-19 11:46:08 +02:00 |
|
Ned Palacios
|
5ff7d07138
|
vdoc: fix sorting + other minor improvements
|
2020-06-19 10:36:45 +02:00 |
|
spaceface777
|
68967e833d
|
parser: skip comp_if when building for a different compiler
|
2020-06-18 22:01:00 +02:00 |
|
Alexander Medvednikov
|
d4b17fb0c3
|
fmt: use the new match syntax
|
2020-06-18 20:07:48 +02:00 |
|
Uwe Krüger
|
3b6e66db0d
|
fmt: further fixes for string interpolation and builtin macros
|
2020-06-18 18:48:23 +02:00 |
|
Uwe Krüger
|
9c9f6415da
|
fmt: more sophisticated analysis for string interpolat
|
2020-06-17 19:49:13 +02:00 |
|
joe-conigliaro
|
d478b44915
|
parser/checker/gen: merge AssignExpr & AssignStmt into just AssignStmt
|
2020-06-16 21:20:16 +10:00 |
|
Alexander Medvednikov
|
9d6b402df0
|
test: fix sqlite_test.v
|
2020-06-16 12:23:52 +02:00 |
|
yuyi
|
2daf915371
|
parser: expression evaluated but not used error
|
2020-06-16 11:06:53 +02:00 |
|
Uwe Krüger
|
f2d9fa3815
|
cgen: restructure string_inter_literal()
|
2020-06-16 10:41:51 +02:00 |
|
Delyan Angelov
|
62a872b8b5
|
vdoc: fix v doc sokol const formatting
|
2020-06-15 18:28:00 +03:00 |
|
Adam Stankiewicz
|
b3fc462a78
|
scanner: fix parsing multiple .amp
|
2020-06-13 00:01:44 +02:00 |
|
Alexander Medvednikov
|
72fdb09e46
|
time: relative_short(); fmt: handle $vweb.html()
|
2020-06-11 20:26:49 +02:00 |
|
Delyan Angelov
|
a43b8b5c96
|
vfmt: add maps_in_fn_args__keep.vv test for 3a369f5
|
2020-06-10 17:15:53 +03:00 |
|
Delyan Angelov
|
4fc41c4bc4
|
v: add compiler support for _unlikely_(x) too
|
2020-06-09 18:11:03 +03:00 |
|
Delyan Angelov
|
c7d4360931
|
v: add full compiler support for _likely_(x)
|
2020-06-09 17:42:43 +03:00 |
|
Alexander Medvednikov
|
fb6be080fb
|
fmt: fix compilation
|
2020-06-06 16:52:41 +02:00 |
|
Alexander Medvednikov
|
2770077cb0
|
fmt: x.foo!() experiment
|
2020-06-06 16:05:24 +02:00 |
|
Alexander Medvednikov
|
40bd1be85f
|
parser: fix !
|
2020-06-06 12:43:35 +02:00 |
|
yuyi
|
5ae8853648
|
all: change f mut Foo to mut f Foo
|
2020-06-04 10:35:40 +02:00 |
|
yuyi
|
962bbf1c60
|
fmt: fix ?void format error, add _keep.vv test
|
2020-06-03 18:45:40 +03:00 |
|
Ned Palacios
|
9fcb8536e8
|
fmt: fix struct decl gen with c structs
|
2020-06-02 07:41:02 +02:00 |
|
Delyan Angelov
|
ae8f7cf569
|
tests: fix some tests, that failed due to the stricter immutable checks
|
2020-06-01 18:24:38 +03:00 |
|
Delyan Angelov
|
bb9d268bd9
|
fmt: add struct init keep test, fix another &&Foo bug
|
2020-05-30 22:34:57 +03:00 |
|
Delyan Angelov
|
077e06b44e
|
fmt: fix struct field default expressions and tags
|
2020-05-29 21:22:27 +03:00 |
|
Ned Palacios
|
94f23d96e9
|
vfmt: fix generation on C idents, fixed arrays
|
2020-05-28 08:06:20 +02:00 |
|
Alexander Medvednikov
|
d6037cbcf2
|
generics: fix method calls
|
2020-05-28 05:58:19 +02:00 |
|
div72
|
cecb7d29c7
|
Prevent vfmt from appending the module name to FnTypeDecl inside the same module (#5080)
|
2020-05-28 02:19:24 +03:00 |
|
Ned Palacios
|
e0db880791
|
fmt: simplify map_init
|
2020-05-27 16:26:45 +03:00 |
|
Alexander Medvednikov
|
7c9279c447
|
vfmt: make work with comptime
|
2020-05-27 03:33:40 +02:00 |
|
Ned Palacios
|
b02ec8cbf9
|
vfmt: fix raw string support
|
2020-05-27 03:10:47 +02:00 |
|
Alexander Medvednikov
|
1ef8eacd6e
|
checker/gen: more generics fixes; ComptimeCall
|
2020-05-25 05:32:36 +02:00 |
|
Alexander Medvednikov
|
67750c91d7
|
generics: lots of fixes
|
2020-05-24 04:43:03 +02:00 |
|
Delyan Angelov
|
43eaec325d
|
fmt: add keep tests for struct init, fix warnings
|
2020-05-23 12:05:21 +03:00 |
|
Delyan Angelov
|
c690c2f984
|
vfmt: fix formatting of struct init without a module prefix
|
2020-05-23 11:56:06 +03:00 |
|
Enzo Baldisserri
|
801bca1ef2
|
compiler: propagate optional
|
2020-05-23 08:51:15 +02:00 |
|
Delyan Angelov
|
4af4a8f2ff
|
fmt: fix 'import time as t', then using t.sleep_ms() .
|
2020-05-22 22:31:24 +03:00 |
|
Alexander Medvednikov
|
227f039652
|
vfmt: handle generic fn calls
|
2020-05-21 18:36:25 +02:00 |
|