mescc: Support void functions.
authorJan Nieuwenhuizen <janneke@gnu.org>
Sat, 6 May 2017 07:11:42 +0000 (09:11 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Sat, 6 May 2017 07:11:42 +0000 (09:11 +0200)
commit68528219cbf1aa775daab95b9ab0e1a0641ce51f
tree1d917fda9646daa9193e3e6b188dd856273f1a29
parent6dc19bd040ee2aab62166b47442f3fd830db988c
mescc: Support void functions.

* module/language/c99/compiler.mes (function->info): Add return if
  missing.  Fixes calling void functions (and functions where return
  is missing).
* scaffold/t.c (void_func): Test it.
module/language/c99/compiler.mes
scaffold/t.c