Jan Nieuwenhuizen
dd66f9b5d2
mescc: Tinycc support: fixes for foo.bar[baz].
...
* module/language/c99/compiler.mes (expr->accu, expr->accu*): fixes for foo.bar[baz].
* scaffold/tests/7c-dynarray.c: Test it.
2017-08-05 21:09:19 +02:00
Jan Nieuwenhuizen
31c69b8b00
mescc: Tinycc support: foo.bar[baz], foo->bar[baz] for typedef'd struct bar.
...
* module/language/c99/compiler.mes (expr->accu): foo.bar[baz],
foo->bar[baz] for typedef'd struct bar.
* scaffold/tests/7c-dynarray.c: Test it.
2017-08-05 12:39:36 +02:00
Jan Nieuwenhuizen
0b60a58809
mescc: Tinycc support: support foo.bar[baz], foo->bar[baz] for struct bar.
...
* module/language/c99/compiler.mes (struct-field): Use negative
pointer for struct array fields.
(expr->accu): support: support foo.bar[baz], foo->bar[baz] for struct bar.
* scaffold/tests/7c-dynarray.c: Test it.
2017-08-01 11:26:00 +02:00