mes/scaffold
Jan Nieuwenhuizen be60b3e49b
mescc: Support function-static variables.
* module/language/c99/info.scm (make): Add statics field.
  (<global>): Add name and function fields.  Update callers.
  (global->string): New function.
* module/mes/M1.mes (object->M1): Update.
* module/language/c99/compiler.mes (clone): Add statics field.
  (ident->accu): For <global>, use global in text (WAS: name).
  (ident-address->accu): Likewise.
  (ident-address->base): Likewise.
  (decl-local->info): New function.
  (decl->info): New function.
  (ast->info): Use them.
  (function->info): Keep globals in object (WAS: global:value only).
* scaffold/tests/46-function-static.c: Test it.
2018-05-04 20:45:27 +02:00
..
boot core: Use single definition rule for cell-type. 2018-04-29 13:22:02 +02:00
tests mescc: Support function-static variables. 2018-05-04 20:45:27 +02:00
tinycc mescc: Import tinycc test suite. 2017-07-26 11:36:07 +02:00
argv.c doc: Release udpate. 2017-11-21 19:22:26 +01:00
b-0.mes mescc: Run module/base-0.mes. 2017-03-26 21:13:01 +02:00
cons-mes.c mes: Add incremental test suite. 2018-01-25 06:58:44 +01:00
hello.c doc: Release udpate. 2017-11-21 19:22:26 +01:00
m.c doc: Release udpate. 2017-11-21 19:22:26 +01:00
main.c doc: Release udpate. 2017-11-21 19:22:26 +01:00
malloc.c doc: Release udpate. 2017-11-21 19:22:26 +01:00
mesmes build: Refactor. 2017-04-12 21:27:59 +02:00
micro-mes.c doc: Release udpate. 2017-11-21 19:22:26 +01:00
mini-mes.c Revert "core: Remove pmatch-car, pmatch-cdr hack." 2018-04-29 07:46:40 +02:00
tiny-mes.c mes: Add incremental test suite. 2018-01-25 06:58:44 +01:00