MazuCC icon indicating copy to clipboard operation
MazuCC copied to clipboard

It does not have support for preprocessors, as it is #include

Open arteze opened this issue 4 years ago • 2 comments

When wanting to do #include <stdio.h> an error appears:

mzcc --dump-ast ./main.c -o ./x
lexer.c:209: Unexpected character: '#'

arteze avatar Jun 23 '21 07:06 arteze

It is a known issue, and I would not maintain MazuCC though.

jserv avatar Jun 23 '21 07:06 jserv

Ohh, ok... ¿It has support towards extern?

arteze avatar Jun 23 '21 13:06 arteze

I tried to do the following but it fails:

extern int printf (const char *__restrict __format, ...);

arteze avatar Jun 23 '21 14:06 arteze