mescc: Tinycc support: field size of foo.bar[baz], foo->bar[baz].
authorJan Nieuwenhuizen <janneke@gnu.org>
Sun, 30 Jul 2017 16:04:25 +0000 (18:04 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Sun, 30 Jul 2017 16:04:25 +0000 (18:04 +0200)
commitedb6bbcd9c8d60714fd66d13f37bd7e5530a4440
tree5bff83dbb0a210bf67c6853e642b52fbac2cef19
parent6b5fcfb814aa3f753b3743b229f752ba3f743ca8
mescc: Tinycc support: field size of foo.bar[baz], foo->bar[baz].

Inspired by a patch from rain1 for foo->bar[baz].

* module/language/c99/compiler.mes (expr->accu):
  (expr->accu*): Consider field size for foo.bar[baz].
* scaffold/tests/7a-struct-char-array.c: Test it.
* make.scm (add-scaffold-test): Build it.
make.scm
module/language/c99/compiler.mes
scaffold/tests/7a-struct-char-array.c [new file with mode: 0644]