yuyi
|
e6c3de2f46
|
cgen: format cgen.init() generated c codes (#14824)
|
2022-06-22 21:39:15 +03:00 |
Alexander Medvednikov
|
10051e005a
|
parser, cgen: temporary prefix ++ for translated code
|
2022-06-18 13:30:47 +03:00 |
yuyi
|
26714fadc5
|
ast, checker, cgen: improve sorting globals and consts (#14769)
|
2022-06-16 14:32:41 +03:00 |
yuyi
|
f2962c34dd
|
cgen: format module_init generated c code (#14764)
|
2022-06-16 11:01:17 +03:00 |
yuyi
|
0c1708db23
|
cgen: minor cleanup in stmt() (#14763)
|
2022-06-15 17:44:00 +03:00 |
yuyi
|
7f38b92ca8
|
cgen: simplify sorting globals and consts (#14761)
|
2022-06-15 11:56:17 +03:00 |
yuyi
|
6d8a0ad15d
|
ast, checker, cgen: sort consts with call expr (fix #14748) (#14755)
|
2022-06-14 10:50:20 +03:00 |
Leo Developer
|
67716b5b59
|
cgen: fix comptime if attributes for `test_` functions (#14756)
|
2022-06-13 21:22:25 +03:00 |
yuyi
|
5efa67906c
|
cgen: sort const array init order (fix #14748) (#14749)
|
2022-06-13 21:09:24 +03:00 |
yuyi
|
a538ab7e8c
|
cgen: minor cleanup for sort globals and consts (#14742)
|
2022-06-11 18:42:22 +03:00 |
yuyi
|
cdf4ffc513
|
cgen: sort globals and consts definitions (#14739)
|
2022-06-11 17:17:49 +03:00 |
spaceface
|
26d051475a
|
cgen: ensure closures are kept alive when using the GC (#14736)
|
2022-06-10 19:48:50 +03:00 |
yuyi
|
922f003729
|
cgen: fix fixed array global variable (fix #14712) (#14730)
|
2022-06-09 16:53:19 +03:00 |
yuyi
|
7780f56c31
|
cgen: fix cast to generic interface (#14708)
|
2022-06-07 08:32:25 +03:00 |
Delyan Angelov
|
6398043094
|
cgen: fix missing function names in declarations on `[c2v_variadic][c: xyz]fn deh_fprintf(fstream &C.FILE, fmt &i8)`
|
2022-06-06 14:33:24 +03:00 |
yuyi
|
8a2236d3f8
|
cgen: fix generic interface with non-generic method (#14694)
|
2022-06-06 12:30:48 +03:00 |
Alexander Medvednikov
|
e89a6269e4
|
checker: do not require fn main when building an object file
|
2022-06-06 12:29:57 +03:00 |
ChAoS_UnItY
|
f6ebbc99cd
|
cgen: fix array type as interface (fix #14677) (#14681)
|
2022-06-05 05:05:48 +03:00 |
Delyan Angelov
|
c15d1c6e7e
|
cgen,ci: fix cast_bool_to_int_test.v on windows-tcc
|
2022-06-03 20:53:10 +03:00 |
Delyan Angelov
|
6f9070e06d
|
cgen: do not initialise externally declared globals (with -cstrict with [c_extern]).
|
2022-06-03 19:14:01 +03:00 |
Delyan Angelov
|
dbaecdc058
|
cgen: simplify int(bool_var) casts; support [c_extern] tag for global declarations
|
2022-06-03 18:48:08 +03:00 |
yuyi
|
daa94de93f
|
cgen: fix autofree_variable() (fix #14576) (#14602)
|
2022-06-03 17:41:30 +03:00 |
yuyi
|
33a2d00445
|
cgen: fix fixed array of aliases struct (#14583)
|
2022-06-01 16:56:12 +03:00 |
Delyan Angelov
|
5a2c271bd4
|
cgen: do not #include signal.h, on -os wasm32 and -d no_segfault_handler
|
2022-06-01 13:21:22 +03:00 |
Delyan Angelov
|
846ddfd728
|
v: always embed file data of \$embed_file(file) constructs, even without -prod, unless `-d embed_only_metadata` is given.
|
2022-06-01 09:08:18 +03:00 |
Alexander Medvednikov
|
f40c30c3dc
|
cgen: fix goto label
|
2022-06-01 06:34:04 +03:00 |
Alexander Medvednikov
|
c54c9b817c
|
cgen: c2v infix fix
|
2022-06-01 06:14:28 +03:00 |
spaceface
|
52a3e5e780
|
cgen: fix a race condition in the closure implementation (#14532)
|
2022-05-27 17:35:02 +03:00 |
Delyan Angelov
|
bb6ef8bba8
|
cgen: fix parallel cgen for json encoding of struct fields that have default values
|
2022-05-26 16:55:44 +03:00 |
Delyan Angelov
|
31c234485a
|
cgen: split keys and values in generated new_map_init calls into separate lines
|
2022-05-25 10:26:17 +03:00 |
yuyi
|
5ade39f8db
|
cgen: fix sizeof('str') and sizeof(r'str') (#14507)
|
2022-05-24 05:14:38 +03:00 |
yuyi
|
4ef9e2c05a
|
parser: fix sizeof(c'str') (fix #14499) (#14502)
|
2022-05-23 01:59:39 +03:00 |
Daniel Däschle
|
5e95bdc451
|
checker: allow but deprecate propagating result as option (#14500)
|
2022-05-23 00:11:29 +03:00 |
Daniel Däschle
|
d3ffd983c8
|
markused: add _result_ok (#14495)
|
2022-05-22 14:52:38 +03:00 |
Alexander Medvednikov
|
53c217fe5e
|
cgen: do not generate `_vinit()` for translated .o code
|
2022-05-20 19:28:37 +03:00 |
Daniel Däschle
|
a52fbc5e51
|
checker: forbid optional variable (#14460)
|
2022-05-19 16:04:44 +03:00 |
spaceface
|
b5fb848508
|
cgen: reduce the closure memory usage (#14437)
|
2022-05-18 02:34:51 +03:00 |
Delyan Angelov
|
9cb8bb2968
|
Revert "Revert "checker: allow using methods as vars when expecting a ctx arg (#14414)""
This reverts commit e5c7fe3006 .
|
2022-05-16 21:29:47 +03:00 |
Delyan Angelov
|
e5c7fe3006
|
Revert "checker: allow using methods as vars when expecting a ctx arg (#14414)"
This reverts commit 36bec823c2 .
|
2022-05-16 14:19:33 +03:00 |
spaceface
|
36bec823c2
|
checker: allow using methods as vars when expecting a ctx arg (#14414)
|
2022-05-16 12:05:08 +03:00 |
spaceface
|
c01a8a1737
|
checker,gen: allow using methods as function pointers (#14407)
|
2022-05-15 18:28:37 +03:00 |
yuyi
|
5697d4375b
|
cgen: fix error for printing aliases of multi fixed array (#14348)
|
2022-05-10 14:03:18 +03:00 |
yuyi
|
b04d46770b
|
ast, checker, cgen: fix error for generic method with generic fn type argument (fix #14239) (#14333)
|
2022-05-07 20:22:20 +03:00 |
yuyi
|
724e7f037a
|
cgen: fix error for if cond with optional expr (#14334)
|
2022-05-07 20:20:00 +03:00 |
Alexander Medvednikov
|
14f06ead1b
|
cgen: fix c2v consts; enum_decl()
|
2022-05-07 00:58:37 +03:00 |
Daniel Däschle
|
76cdf75299
|
builtin,cgen: rename `Option` to `_option` (#14317)
|
2022-05-06 19:25:54 +03:00 |
playX
|
afbe6bf3a2
|
cgen: fix const decl gen when translated (#14255)
|
2022-05-02 15:01:59 +03:00 |
yuyi
|
968d2b4654
|
cgen: fix fixed array init with `it` (#14251)
|
2022-05-02 02:00:45 +03:00 |
spaceface
|
332e821518
|
checker, gen: add support for a [minify] struct attribute (#14247)
|
2022-05-02 01:59:17 +03:00 |
Daniel Däschle
|
ec92d467d1
|
cgen: fix unsafe return error (#14233)
|
2022-04-30 17:31:28 +03:00 |