Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-03-18 | pp: Add test for function-like macro with no argument tokens | Michael Forney | |
2020-03-18 | pp: Don't expand argument tokens if we don't need them | Michael Forney | |
2020-03-18 | pp: Handle #define without trailing newline | Michael Forney | |
2020-03-18 | token: Handle TEOF in tokendesc | Michael Forney | |
2020-03-18 | pp: Minor style changes | Michael Forney | |
2020-03-18 | pp: Finish '#' operator | Michael Forney | |
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: Use tokencheck in a few more places | Michael Forney | |
2020-03-17 | pp: Fix some whitespace after preprocessing | Michael Forney | |
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 | token: Add tokencheck utility function | Michael Forney | |
This function is like expect(), but operates on a specific token and does not read the following token. | |||
2020-03-16 | token: Rename some functions | Michael Forney | |
2020-03-16 | runtests: Add support for preprocessor tests | Michael Forney | |
2020-03-16 | decl: Simplify struct tag parsing slightly | 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. | |||
2020-02-24 | Enable -Wpedantic by default | Michael Forney | |
2020-01-31 | eval: Allow casting address constants to integer types in constant expressions | Michael Forney | |
2020-01-31 | qbe: Make non-constant initializer expression a proper error | Michael Forney | |
2020-01-30 | Add test for sizeof string literal | Michael Forney | |
This was regressed in d889bc80be and fixed in 090e2932ce. | |||
2020-01-30 | driver: Allow preprocessing C headers | Michael Forney | |
2020-01-30 | decl: Better check for inline definitions | Michael Forney | |
2020-01-30 | runtests: Count number of failing tests | Michael Forney | |
2020-01-30 | Fix links to issue tracker | Michael Forney | |
2020-01-30 | decl: Use list link to determine presence in tentative definition list | Michael Forney | |
2020-01-30 | util: Remove unused listinsertlist | Michael Forney | |
2020-01-30 | expr: String literals have complete type | Michael Forney | |
2019-12-27 | expr: Disallow function/incomplete types and bit-fields in sizeof/_Alignof | Michael Forney | |
2019-12-19 | Fix issue links in README | Michael Forney | |
2019-12-14 | Update issue tracker link | Michael Forney | |
2019-11-25 | Make debian-aarch64 build more robust to gcc version changes | Michael Forney | |
2019-11-20 | driver: Pass -std=* through to the preprocessor | Michael Forney | |
This will prevent the preprocessor from defining several unreserved identifiers when built with an ISO C language standard, which may conflict with identifiers used by the program being built. | |||
2019-11-19 | doc: Update binutils patch list | Michael Forney | |
Two patches removed, two patches added. | |||
2019-11-19 | decl: Parse array size as an assignment-expression | Michael Forney | |
Even though we don't support VLAs yet, we should still be parsing the VLA syntax, then failing after if it was not a constant expression. | |||
2019-11-18 | Fix email address in build manifests | Michael Forney | |
Go's email libraries (used by builds.sr.ht) need the address to be in this format. | |||
2019-11-17 | Fix build manifests for changed environment behavior | Michael Forney | |
2019-11-17 | Update oasis software status | Michael Forney | |
2019-11-17 | driver: phase -> stage | Michael Forney | |
2019-11-17 | driver: Preprocess assembly files with .S extension | Michael Forney | |
2019-08-17 | driver: Use LEN(phases) instead of NPHASES | Michael Forney | |
2019-08-14 | Update qbe submodule | Michael Forney | |
2019-08-13 | scan: Add `::` operator | Michael Forney | |
This is needed for attributes, added in C2X (n2335). | |||
2019-08-13 | Send mail to list on build job failure | Michael Forney | |
2019-08-13 | Remove test corresponding to cast-same-type.qbe | Michael Forney | |
This should have been removed when "expr: Fix cast of same type" was reverted in 0d1969024c. | |||
2019-08-13 | decl: Allow _Static_assert with no message | Michael Forney | |
This is accepted for C2X[0]. [0] http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2265.pdf | |||
2019-08-13 | decl: Separate _Static_assert handling to its own function | Michael Forney | |
2019-08-12 | Revert "expr: Fix cast of same type" | Michael Forney | |
This reverts commit 1a38a5fc4844a0de8729be694a62ba0afce3ff52. This breaks comparisons bitfields in some cases, for instance extern struct {unsigned x:31;} s; int main(void) { return (unsigned)s.x - 1 < 0; } If we discard the cast, then it is a signed comparison because of integer promotion for bit-fields, otherwise it is an unsigned comparison. Additionally, the test case this was meant to fix is not actually ISO C, since casts must be to scalar types or `void`. | |||
2019-08-11 | Update oasis package list | Michael Forney | |
2019-08-11 | decl: Allow enumerator values up to UINT_MAX | Michael Forney | |
2019-08-11 | Update wiki URLs | Michael Forney | |