mescc: Support struct assignment.
authorJan Nieuwenhuizen <janneke@gnu.org>
Thu, 2 Mar 2017 19:26:13 +0000 (20:26 +0100)
committerJan Nieuwenhuizen <janneke@gnu.org>
Thu, 2 Mar 2017 19:26:13 +0000 (20:26 +0100)
commit78e70f9024168785ad264ef2dd354c87c2f32810
treed5de36351e78b0d88a0d64822b3945a8e5e85e03
parent08ea0da74503223ba2875595e5caf5bd9c807611
mescc: Support struct assignment.

* module/mes/libc-i386.mes (i386:base-address->accu-address,
  i386:accu+n, i386:base+n): New functions.
* module/mes/libc-i386.scm: Export them.
* module/language/c99/compiler.mes (ast->info): Use them.
* doc/examples/t.c: Test them.
* doc/examples/cons-mes.c: Drop workarounds.
* doc/examples/mini-mes.c: Likewise.
* mes.c:
build-aux/mes-snarf.scm
mes.c
module/language/c99/compiler.mes
module/mes/libc-i386.mes
module/mes/libc-i386.scm
scaffold/cons-mes.c
scaffold/mini-mes.c
scaffold/t.c