mescc: Tinycc support: bugfix struct pointer.
authorJan Nieuwenhuizen <janneke@gnu.org>
Tue, 25 Jul 2017 15:01:37 +0000 (17:01 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Wed, 26 Jul 2017 09:36:45 +0000 (11:36 +0200)
commitd2f701b8252adfbe28562cfab82d39467ce863ef
tree242e6223d9f7f86bc67138a76cde0d5d30073228
parent10e65b35ced28c826645d3e24b25a8a7ef61dfde
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.
module/language/c99/compiler.mes
scaffold/tests/23-pointer.c