mescc: Tinycc support: more list initializers.
authorJan Nieuwenhuizen <janneke@gnu.org>
Tue, 18 Jul 2017 06:04:50 +0000 (08:04 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Wed, 26 Jul 2017 09:36:08 +0000 (11:36 +0200)
commite8023cd2efb6b4f40e777d55046eb016d1b9075a
tree5bc1df3df807d03408cbe0f4cd85d48f3b755ae3
parent16b9a21712f9875ad1a3096f12a780dc7bb97b16
mescc: Tinycc support: more list initializers.

* module/language/c99/compiler.mes (init-declr->name): Handle array,
  pointer array.
  (init-declr->pointer): Likewise.
  (decl->info): Generalize list initializers, add pointer variant.
  FIXME: AST-rewriting?
module/language/c99/compiler.mes
scaffold/tests/71-struct-array.c