yuyi
|
e9a8f5fcc7
|
cgen: fix ref_struct.str() with null pointer (#14836)
|
2022-06-23 08:35:21 +03:00 |
yuyi
|
e6c3de2f46
|
cgen: format cgen.init() generated c codes (#14824)
|
2022-06-22 21:39:15 +03:00 |
yuyi
|
585b5145fa
|
cgen: fix auto string method generated for []&int{len:1} (#14829)
|
2022-06-22 14:54:04 +03:00 |
pancake
|
23d1c792c0
|
native: fix macho generation for macos11-amd64 (#14821)
|
2022-06-22 11:58:27 +03:00 |
yuyi
|
cab6355a38
|
cgen: fix array of reference sumtype index() (#14812)
|
2022-06-21 12:37:54 +03:00 |
pancake
|
1caff5b379
|
native: initial support for apple-m1 (#14795)
|
2022-06-20 21:25:12 +03:00 |
yuyi
|
de136f6baf
|
checker: improve pub struct check (fix #14446) (#14777)
|
2022-06-19 17:42:22 +03:00 |
lemon
|
e0310964d9
|
native: initial support for `defer` (#14779)
|
2022-06-18 23:51:31 +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 |
lemon
|
e4e858b132
|
transformer: fix a bug with string literal length (#14757)
|
2022-06-14 12:42:45 +03:00 |
yuyi
|
6d8a0ad15d
|
ast, checker, cgen: sort consts with call expr (fix #14748) (#14755)
|
2022-06-14 10:50:20 +03:00 |
Spydr
|
2f1a896d18
|
native: integer-to-string conversion (#14758)
|
2022-06-14 00:35:25 +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 |
Spydr
|
5c104cf981
|
native: implement `neg()` for arm64 (#14745)
|
2022-06-12 09:42:39 +03:00 |
Spydr
|
8fa1e30dd2
|
native: int-to-string conversion detecting zeros and negative values (#14743)
|
2022-06-11 21:20:13 +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 |
lemon
|
c7a619d16e
|
native: support `else`, `break`, `continue` (#14738)
|
2022-06-11 11:50:19 +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 |
Spydr
|
8563696476
|
native: added new helper functions (#14723)
|
2022-06-08 23:16:15 +03:00 |
yuyi
|
7780f56c31
|
cgen: fix cast to generic interface (#14708)
|
2022-06-07 08:32:25 +03:00 |
ChAoS_UnItY
|
73b59c7b16
|
cgen: fix none literal str() function calling (#14704)
|
2022-06-07 01:29:27 +03:00 |
ChAoS_UnItY
|
ce26d5bc5c
|
cgen: fix mutable receiver type calling mapping function causes C error (fix #14230) (#14696)
|
2022-06-06 18:34:04 +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 |
yuyi
|
ce771876a3
|
cgen: fix nested map index check (fix #14683) (#14687)
|
2022-06-06 06:29:22 +03:00 |
ChAoS_UnItY
|
df80b33dc0
|
cgen: fix array init with it (fix #14679) (#14680)
|
2022-06-05 19:41:54 +03:00 |
ChAoS_UnItY
|
f6ebbc99cd
|
cgen: fix array type as interface (fix #14677) (#14681)
|
2022-06-05 05:05:48 +03:00 |
yuyi
|
5d429140a4
|
json: fix json decode with missing map type field (#14678)
|
2022-06-04 20:27:11 +03:00 |
Delyan Angelov
|
3ac3375b43
|
cgen: fix `for (int i = 0; i < 10; i++, a++) {` (multiple expressions in the inc part)
|
2022-06-04 20:03:59 +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
|
dcbd8d6405
|
cgen: fix if expr with optional method call (#14600)
|
2022-06-03 15:57:39 +03:00 |
Alexander Medvednikov
|
8b0e843cb8
|
checker, cgen: c2v variadic fixes
|
2022-06-02 09:35:25 +03:00 |
ChAoS_UnItY
|
a95cdac635
|
cgen: fix type not being unaliased (fix #14568) (#14591)
|
2022-06-02 06:21:01 +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 |
yuyi
|
fefb9643b2
|
checker, cgen: fix array index optional with if expr (#14575)
|
2022-06-01 09:18:59 +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 |