aboutsummaryrefslogtreecommitdiff
path: root/main.c
AgeCommit message (Collapse)Author
2020-03-17pp: Add support for macro definition and expansionMichael Forney
The token pasting operator `##` still needs to be implemented.
2020-03-16token: Rename some functionsMichael Forney
2020-03-16Allow multiple inputs to main compiler processMichael Forney
This way, we can implement -include in the driver by just passing an additional input to the compiler.
2019-07-05Rename to cprocMichael Forney
Fixes #4
2019-06-27Pass target to cc-qbeMichael Forney
2019-05-12Fix progname fallbackMichael Forney
2019-04-04Merge headers into cc.hMichael Forney
2019-02-25Use a stack of scannersMichael Forney
This is necessary to implement the #include directive.
2019-02-23Check for any write errorsMichael Forney
2019-02-22Keep track of built-in kind in declarationMichael Forney
Also, populate filescope with builtins outside of main.
2019-02-22Only need to emit tentative definitions when compilingMichael Forney
2019-02-22Simplify handling of arguments to cc-qbe a bitMichael Forney
2019-02-22Implement __builtin_allocaMichael Forney
2019-02-19Implement __builtin_va_copyMichael Forney
2019-02-13Make __builtin_va_list a built-in declaration, not keywordMichael Forney
2019-02-13Implement __builtin_va_argMichael Forney
2019-02-12Initial importMichael Forney