mescc: Support global pointer assignments.
authorJan Nieuwenhuizen <janneke@gnu.org>
Tue, 17 Jan 2017 17:57:41 +0000 (18:57 +0100)
committerJan Nieuwenhuizen <janneke@gnu.org>
Tue, 17 Jan 2017 17:57:41 +0000 (18:57 +0100)
commit2bb9f2b818e5afacbdc4f785eabda243f50c73a3
tree7c5d862d042807527a50b7ba47719004c0f028e3
parentbf9539c565fe88952ed7c50a77b37368cb2fb2d6
mescc: Support global pointer assignments.

* module/mes/libc-i386.mes (base->accu-ref, local-ref->base): New functions.
* module/mes/libc-i386.scm: Export them.
* module/language/c99/compiler.mes (base->ident-ref, ident-ref->base):
  New functions.
module/language/c99/compiler.mes
module/mes/libc-i386.mes
module/mes/libc-i386.scm