Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-03-17 | token: Add TOTHER for other non-whitespace tokens | Michael Forney | |
This is for any non-whitespace character that doesn't match any other token categories, and could be valid if stringified, or the preprocessor is used by itself. | |||
2020-03-17 | pp: Add support for macro definition and expansion | Michael Forney | |
The token pasting operator `##` still needs to be implemented. | |||
2020-03-16 | scan: Keep track of whether tokens had preceeding whitespace | Michael Forney | |
2020-03-16 | Allow multiple inputs to main compiler process | Michael Forney | |
This way, we can implement -include in the driver by just passing an additional input to the compiler. | |||
2019-08-13 | scan: Add `::` operator | Michael Forney | |
This is needed for attributes, added in C2X (n2335). | |||
2019-05-08 | scan: Handle EOF in comments, character constants, and string literals | Michael Forney | |
2019-04-04 | Merge headers into cc.h | Michael Forney | |
2019-03-12 | scan: Add support for prefixed string literals and character constants | Michael Forney | |
2019-03-12 | scan: Accept leading `.` in pp-number | Michael Forney | |
2019-02-25 | Use a stack of scanners | Michael Forney | |
This is necessary to implement the #include directive. | |||
2019-02-24 | Remove unused field | Michael Forney | |
2019-02-24 | scan: Handle comments | Michael Forney | |
2019-02-24 | scan: Handle escaped newlines | Michael Forney | |
2019-02-12 | Initial import | Michael Forney | |