mescc: Tinycc support: bugfix struct.array.
authorJan Nieuwenhuizen <janneke@gnu.org>
Tue, 25 Jul 2017 23:13:33 +0000 (01:13 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Wed, 26 Jul 2017 09:36:45 +0000 (11:36 +0200)
commitb7cc9d375d765a05f9532d6cea53294fa06aae2f
tree85a93c6eba0a455ac88dc31f9fae5f8816a2148d
parentd2f701b8252adfbe28562cfab82d39467ce863ef
mescc: Tinycc support: bugfix struct.array.

* module/language/c99/compiler.mes (struct-field): Update pointer
  info.
  (field:name,field:pointer,field:size,field:type): Rely on pointer
  info.
  (field:pointer): New function.
 (expr->accu): Use it.
* scaffold/tests/71-struct-array.c (test): Test it.
module/language/c99/compiler.mes
scaffold/tests/71-struct-array.c