mescc: Proper support for i++,++i,i--,--i.
authorJan Nieuwenhuizen <janneke@gnu.org>
Sat, 7 Jan 2017 20:53:12 +0000 (21:53 +0100)
committerJan Nieuwenhuizen <janneke@gnu.org>
Sat, 7 Jan 2017 20:53:12 +0000 (21:53 +0100)
commit7667fb95c05030f6d8fb4aa2a678f3de0a1a93fd
treeffddded8b4722ae71869393b926669b63aebf59a
parentc83ef66265700a6fe84972ff303ba499ca99fb91
mescc: Proper support for i++,++i,i--,--i.

* module/language/c99/compiler.mes (ast->info): Bugfix: locals.
  Add i--, --i.  Properly support i++, ++i.
* module/mes/libc-i386.mes (i386:function-locals): Support 8 local vars.
* scaffold/t.c (test): Test it.
module/language/c99/compiler.mes
module/mes/libc-i386.mes
scaffold/t.c