mescc: Tinycc support: array[<const-expr>].
authorJan Nieuwenhuizen <janneke@gnu.org>
Sun, 23 Jul 2017 19:58:34 +0000 (21:58 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Wed, 26 Jul 2017 09:36:44 +0000 (11:36 +0200)
commita7a3de05f656cc26f12ace1f235b6bc188f3a963
tree01550ad317446f6cbb43d0d125af7b62fc0d7123
parentd1a7527eaf8b11a60b58841bcf398a321680040d
mescc: Tinycc support: array[<const-expr>].

* module/language/c99/compiler.mes (p-expr->number): New function.
  (struct-field, decl->info): Use it to support const expressions in array size.
module/language/c99/compiler.mes