Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
arteze opened this issue Jun 23, 2021 · 2 comments
Open

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

arteze opened this issue Jun 23, 2021 · 2 comments

Comments

@arteze
Copy link

arteze commented Jun 23, 2021

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

mzcc --dump-ast ./main.c -o ./x
lexer.c:209: Unexpected character: '#'
@arteze
Copy link
Author

arteze commented Jun 23, 2021

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

@arteze
Copy link
Author

arteze commented Jun 23, 2021

I tried to do the following but it fails:

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant