mescc: Tinycc support: Implement (foo--)->bar and permutations.
authorJan Nieuwenhuizen <janneke@gnu.org>
Sun, 13 May 2018 11:50:32 +0000 (13:50 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Sun, 13 May 2018 11:50:32 +0000 (13:50 +0200)
commit057607ca0a8d4cbc748c4f9d9ee37d918b07fb70
tree75da9059bce6d1d26793469a00933b317dd87005
parent330404125e6650ce048ac5b088252875ede60ed1
mescc: Tinycc support: Implement (foo--)->bar and permutations.

* module/language/c99/info.scm (clone): Add post field.
  (make): Handle post parameter.
* module/language/c99/compiler.mes (clone): Handle post parameter.
  (expr->accu*): Set it to support foo--/foo--.
  (expr->accu): Read it to support foo--/foo--.
* scaffold/tests/7o-struct-pre-post.c: Test it.
* build-aux/check-mescc.sh: Run it.
build-aux/check-mescc.sh
module/language/c99/compiler.mes
module/language/c99/info.scm
scaffold/tests/7o-struct-pre-post.c [new file with mode: 0644]