Check for void type in top-level decls
commit61ba9f229955f105af9d7dcdbfcc9c9effbe8af3
authorMichael Matz <matz@suse.de>
Fri, 3 Aug 2018 20:39:00 +0000 (3 22:39 +0200)
committerMichael Matz <matz@suse.de>
Fri, 3 Aug 2018 20:51:35 +0000 (3 22:51 +0200)
tree629b67cb38365ad2c5d2148ac6fdf833f6282368
parent22420ee1ee7a0bffcb694c8e2d24264ddb606958
Check for void type in top-level decls

give an error message from the parser on things like "void x;" instead
of relying on codegen erroring out.
tccgen.c