mescc: Tinycc support: struct.union.
authorJan Nieuwenhuizen <janneke@gnu.org>
Sun, 23 Jul 2017 11:41:38 +0000 (13:41 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Wed, 26 Jul 2017 09:36:08 +0000 (11:36 +0200)
commit1d996c71317e0cf50bab7aa65f0e72b5ee9249de
treec8e625ae65f4ef2fceb42b17588f134e4485f528
parent1c01a65d8bba3ac9f251eab22046d5497e05c806
mescc: Tinycc support: struct.union.

* module/language/c99/compiler.mes (struct-field): Add struct tag to
  struct/union types.
  (field-type, field-size, field-offset, field-field, ast-type->type):
  Ascertain struct tag with type.
* (expr->accu*): Do not add struct tag.
* scaffold/tests/75-struct-union.c: Test it.
* scaffold/tests/71-struct-array.c: Update.
module/language/c99/compiler.mes
scaffold/tests/71-struct-array.c
scaffold/tests/75-struct-union.c