be60b3e49b
* 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. |
||
---|---|---|
.. | ||
boot | ||
tests | ||
tinycc | ||
argv.c | ||
b-0.mes | ||
cons-mes.c | ||
hello.c | ||
m.c | ||
main.c | ||
malloc.c | ||
mesmes | ||
micro-mes.c | ||
mini-mes.c | ||
tiny-mes.c |