mescc: Refactor comparisons.
authorJan Nieuwenhuizen <janneke@gnu.org>
Fri, 7 Apr 2017 05:06:35 +0000 (07:06 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Fri, 7 Apr 2017 05:06:35 +0000 (07:06 +0200)
commita2b6830ecb7ea39f487194252126c32c9982ab70
tree11d5725cff2e5b45c7a822d0b155dd9cf2a7ddad
parent7548ad9efccf99a145083f41e7d3aff54c13ad31
mescc: Refactor comparisons.

* module/language/c99/compiler.mes (compare->accu, append-text, wrap):
  New functions.
  (expr->accu): Use them to implement construct like 1 == inc (0).
* scaffold/t.c (math_test): Test them.
module/language/c99/compiler.mes
scaffold/t.c