jserv / MazuCC

A minimalist C compiler with x86_64 code generation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Does not parse the word void

LucasMW opened this issue · comments

The examples I tried:

$ ./mzcc --dump-ast
void main() {
parser.c:794: Type expected, but got void
$ ./mzcc --dump-ast
void main(void) {}
parser.c:794: Type expected, but got void
$ ./mzcc --dump-ast
int main(void) {
parser.c:794: Type expected, but got void