summaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
...
| | * Treat newlines as space when invoking a function-like macro invocation.Carl Worth2010-05-265-3/+67
| | * All macro lookups should be of type macro_t, not string_list_t.Carl Worth2010-05-261-4/+4
| | * Implement (and test) support for macro expansion within conditional expressions.Carl Worth2010-05-263-22/+169
| | * Fix lexing of "defined" as an operator, not an identifier.Carl Worth2010-05-262-7/+5
| | * Implement #if and friends.Carl Worth2010-05-264-5/+2
| | * stashCarl Worth2010-05-262-5/+176
| | * Implement token pasting.Carl Worth2010-05-261-0/+117
| | * Rename identifier from 'i' to 'node'.Carl Worth2010-05-261-5/+5
| | * Remove some stale token types.Carl Worth2010-05-261-3/+0
| | * Prevent unexpanded macros from being expanded again in the future.Carl Worth2010-05-261-2/+11
| | * README: Document some known limitations.Carl Worth2010-05-261-0/+12
| | * Fix a typo in a comment.Carl Worth2010-05-261-1/+1
| | * Expand macro arguments before performing argument substitution.Carl Worth2010-05-261-4/+5
| | * Change macro expansion to append onto token lists rather than printing directly.Carl Worth2010-05-261-73/+120
| | * Check active expansions before expanding a function-like macro invocation.Carl Worth2010-05-261-5/+5
| | * Defer test 26 until much later (to test 55).Carl Worth2010-05-261-0/+0
| | * Avoid getting extra trailing whitespace from macros.Carl Worth2010-05-252-2/+29
| | * Remove a bunch of old code and give the static treatment to what's left.Carl Worth2010-05-252-248/+21
| | * Avoid swallowing initial left parenthesis from nested macro invocation.Carl Worth2010-05-251-2/+6
| | * Ignore separating whitespace at the beginning of a macro argument.Carl Worth2010-05-251-9/+11
| | * Implement substitution of function parameters in macro calls.Carl Worth2010-05-251-8/+57
| | * Collapse multiple spaces in input down to a single space.Carl Worth2010-05-253-6/+7
| | * Add a test #0 to ensure that we don't do any inadvertent token pasting.Carl Worth2010-05-251-0/+1
| | * Pass through literal space values from replacement lists.Carl Worth2010-05-253-71/+25
| | * Implement simplified substitution for function-like macro invocation.Carl Worth2010-05-253-21/+168
| | * Implement #undef.Carl Worth2010-05-251-1/+11
| | * Implement expansion of object-like macros.Carl Worth2010-05-253-22/+112
| | * Make the lexer pass whitespace through (as OTHER tokens) for text lines.Carl Worth2010-05-253-17/+59
| | * Store parsed tokens as token list and print all text lines.Carl Worth2010-05-253-64/+195
| | * Delete some trailing whitespace.Carl Worth2010-05-251-4/+4
| | * Add xtalloc_reference.Carl Worth2010-05-252-0/+21
| | * Starting over with the C99 grammar for the preprocessor.Carl Worth2010-05-253-505/+98
| * | Add three more tests cases recently added to the take-2 branch.Carl Worth2010-05-293-0/+20
| * | Add two more (failing) tests from the take-2 branch.Carl Worth2010-05-282-0/+8
| * | Add two (passing) tests from the take-2 branch.Carl Worth2010-05-282-0/+6
| * | Tweak test 25 slightly, (so the non-macro doesn't end the file).Carl Worth2010-05-281-1/+1
| * | Remove some blank lines from the end of some test cases.Carl Worth2010-05-283-4/+0
| * | Add test for token-pasting of integers.Carl Worth2010-05-271-0/+4
| * | Add test for macro invocations with empty arguments.Carl Worth2010-05-271-0/+6
| * | Add test 56 for a comma within the expansion of an argument.Carl Worth2010-05-271-0/+4
| * | Add two tests developed on the take-2 branch.Carl Worth2010-05-262-0/+37
| |/
| * Add test for '/', '<<', and '>>' in #if expressions.Carl Worth2010-05-241-0/+16
| * Add test of bitwise operators and octal/hexadecimal literals.Carl Worth2010-05-241-0/+20
| * Add support for octal and hexadecimal integer literals.Carl Worth2010-05-241-3/+16
| * Switch to intmax_t (rather than int) for #if expressionsCarl Worth2010-05-242-1/+5
| * Add the '~' operator to the lexer.Carl Worth2010-05-241-1/+1
| * Implement all operators specified for GLSL #if expressions (with tests).Carl Worth2010-05-245-7/+195
| * Implement #if, #else, #elif, and #endif with tests.Carl Worth2010-05-2013-4/+221
| * Implement (and add test) for token pasting.Carl Worth2010-05-201-3/+24
| * Pre-expand macro arguments at time of invocation.Carl Worth2010-05-203-70/+28