Jan Nieuwenhuizen
|
a1862f749f
|
mescc: Refactor type system: WIP
* module/language/c99/compiler.mes (): WIP
* module/language/c99/info.scm (): WIP
|
2018-05-10 12:40:07 +02:00 |
|
Jan Nieuwenhuizen
|
c9ba7a619b
|
mescc: Refactor variable declaration.
* module/language/c99/compiler.mes (decl->info): Refactor.
|
2018-05-05 12:30:06 +02:00 |
|
Jan Nieuwenhuizen
|
ad135d3752
|
doc: Release udpate.
* HACKING: Update.
* INSTALL: Update.
* NEWS: Update.
* README: Update.
* doc/ANNOUNCE-0.12: New file.
* throughout: (janneke) coming out.
|
2017-11-21 19:22:26 +01:00 |
|
Jan Nieuwenhuizen
|
3560ee6c95
|
mescc: Tinycc support: fix *--p = 'x'.
* module/language/c99/compiler.mes (expr->accu): Respect size in *--p = 'x'.
* scaffold/tests/23-pointer.c (test): Test it.
|
2017-08-27 16:58:56 +02:00 |
|
Jan Nieuwenhuizen
|
d2f701b825
|
mescc: Tinycc support: bugfix struct pointer.
* module/language/c99/compiler.mes (decl->info): Only set non-pointer struct to -1.
* scaffold/tests/23-pointer.c (test): Test it.
|
2017-07-26 11:36:45 +02:00 |
|
Jan Nieuwenhuizen
|
7e795763f3
|
mescc: Tinycc support: bugfix for char **pp = *p.
* module/language/c99/compiler.mes (ptr-declr->pointer): Grok ***.
(decl->info): Bugfix for char **pp = *p, cleanup.
* mlibc/libc-mes.c (getenv): Update for bugfix.
* scaffold/tests/23-pointer.c (test): Test it.
|
2017-07-26 11:36:45 +02:00 |
|
Jan Nieuwenhuizen
|
94b3c828d3
|
mescc: Refactor decl.
* module/mes/as-i386.mes (i386:mem->base, i386:nop): New functions.
* module/mes/as-i386.scm: Export them.
* module/language/c99/compiler.mes:
* stage0/x86.M1 (nop,mov____(%edx),%edx,movzbl_(%edx),%edx): New defines.
* scaffold/tests/23-pointer.c: New file.
* scaffold/tests/t.c: New file.
* make.scm: Build them.
* module/language/c99/compiler.mes (init-declr->name): Handle array.
(init-declr->pointer): Likewise.
(ident->accu): Simplify.
(ident->base): Simplify.
(ident-address->base): Typo.
(expr->accu): Simplify.
(decl->info): Simplify.
* mlibc/libc-mes.c (getenv): Remove superfluous statement.
|
2017-07-26 11:36:08 +02:00 |
|