mescc: Tinycc support: ((foo*) p) + n.
authorJan Nieuwenhuizen <janneke@gnu.org>
Mon, 31 Jul 2017 10:19:23 +0000 (12:19 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Mon, 31 Jul 2017 10:19:23 +0000 (12:19 +0200)
commit1e37c9d9eac8ef83edcb6fa9d2381f45dffd2f91
tree94ab722df7bd778f038d279952a3519eb0e82154
parentedb6bbcd9c8d60714fd66d13f37bd7e5530a4440
mescc: Tinycc support: ((foo*) p) + n.

* module/language/c99/compiler.mes init-declr->pointer, expr->pointer,
  expr->size): support: ((foo*) p) + n.
  (expr->accu*): Consider field size for foo.bar[baz].
* scaffold/tests/7b-struct-int-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
scaffold/tests/7b-struct-int-array.c [new file with mode: 0644]