mescc: Support expression as lhs array index.
authorJan Nieuwenhuizen <janneke@gnu.org>
Wed, 5 Apr 2017 12:24:34 +0000 (14:24 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Wed, 5 Apr 2017 12:24:34 +0000 (14:24 +0200)
commitc4fe8d8239ffa4f0e2b64378999a946f8aa099b8
tree3c01aa10d1cc4681c6643a22a1db76bef674aa28
parent71da0bfb786041280d860778ab62e4fc8f2cfd1d
mescc: Support expression as lhs array index.

* module/language/c99/compiler.mes (expr->accu): Treat array index as expression.
* scaffold/t.c (struct_test): Test it.
* gc.c (gc_copy)[!__GNUC__]: Remove branch.
* vector.c (list_to_vector)[!__GNUC__]: Likewise.
gc.c
module/language/c99/compiler.mes
scaffold/t.c
vector.c