C Syntax Parsing Only
19:27 08 Feb 2026

I tried -fsyntax-only, but it does some semantic analysis. For example, it rejects something like

int main() { return a + a; }

due to undeclared variables. I don't want any sort of type checking or name resolution done. I just want to see what is accepted by the parser. Is there any way to do this?

c