summaryrefslogtreecommitdiff
AgeCommit message (Expand)AuthorFilesLines
2010-06-09Merge remote branch 'kwg/fixes'HEADmasterCarl Worth1-0/+20
2010-06-04Disallow defining macros whose names start with "__" or "GL_".Kenneth Graunke1-0/+20
2010-06-02test suite: Add expected output for every test.Carl Worth70-8/+384
2010-06-02Restore error message for a macro with unbalanced parentheses.Carl Worth1-1/+4
2010-06-02Eliminate some recursion from children of _expand_token_listCarl Worth2-57/+110
2010-06-02Remove dead code: _glcpp_parser_expand_token_list_ontoCarl Worth1-10/+0
2010-06-02Factor out common sub-expression from multi-line-comment regular expression.Carl Worth1-1/+3
2010-06-02Make the multi-line comment regular expression a bit easier to read.Carl Worth1-1/+1
2010-06-02Fix multi-line comment regular expression to handle (non) nested comments.Carl Worth2-1/+6
2010-06-01Implement comment handling in the lexer (with test).Carl Worth3-2/+28
2010-06-01Fix #if-skipping to *really* skip the skipped group.Carl Worth4-25/+44
2010-05-29Merge branch 'take-2'Carl Worth8-616/+1106
2010-05-29Add three more tests cases recently added to the take-2 branch.Carl Worth3-0/+20
2010-05-29Add killer test case from the C99 specification.Carl Worth1-0/+17
2010-05-29Add test and fix bugs with multiple token-pasting on the same line.Carl Worth2-51/+43
2010-05-29Fix pass-through of '=' and add a test for it.Carl Worth3-1/+3
2010-05-28Add two more (failing) tests from the take-2 branch.Carl Worth2-0/+8
2010-05-28Add two (passing) tests from the take-2 branch.Carl Worth2-0/+6
2010-05-28Tweak test 25 slightly, (so the non-macro doesn't end the file).Carl Worth1-1/+1
2010-05-28Remove some blank lines from the end of some test cases.Carl Worth3-4/+0
2010-05-28Perform macro by replacing tokens in original list.take-2Carl Worth3-99/+187
2010-05-28Simplify calling conventions of functions under expand_token_list_onto.Carl Worth1-85/+74
2010-05-28Stop interrupting the test suite at the first failure.Carl Worth1-1/+0
2010-05-28Revert "Add support for an object-to-function chain with the parens in the co...Carl Worth1-49/+16
2010-05-27Remove blank lines from output files before comparing.Carl Worth2-3/+5
2010-05-27Add test for token-pasting of integers.Carl Worth1-0/+4
2010-05-27Implement token pasting of integers.Carl Worth4-17/+33
2010-05-27Add placeholder tokens to support pasting with empty arguments.Carl Worth2-6/+35
2010-05-27Add test for macro invocations with empty arguments.Carl Worth1-0/+6
2010-05-27Provide support for empty arguments in macro invocations.Carl Worth2-9/+17
2010-05-27Make two list-processing functions do nothing with an empty list.Carl Worth1-1/+4
2010-05-27Add test 56 for a comma within the expansion of an argument.Carl Worth1-0/+4
2010-05-27Avoid treating an expanded comma as an argument separator.Carl Worth2-2/+20
2010-05-26Add support (and test) for an object-to-function chain with the parens in the...Carl Worth2-16/+52
2010-05-26Add two tests developed on the take-2 branch.Carl Worth2-0/+37
2010-05-26Treat newlines as space when invoking a function-like macro invocation.Carl Worth5-3/+67
2010-05-26All macro lookups should be of type macro_t, not string_list_t.Carl Worth1-4/+4
2010-05-26Implement (and test) support for macro expansion within conditional expressions.Carl Worth3-22/+169
2010-05-26Fix lexing of "defined" as an operator, not an identifier.Carl Worth2-7/+5
2010-05-26Implement #if and friends.Carl Worth4-5/+2
2010-05-26stashCarl Worth2-5/+176
2010-05-26Implement token pasting.Carl Worth1-0/+117
2010-05-26Rename identifier from 'i' to 'node'.Carl Worth1-5/+5
2010-05-26Remove some stale token types.Carl Worth1-3/+0
2010-05-26Prevent unexpanded macros from being expanded again in the future.Carl Worth1-2/+11
2010-05-26README: Document some known limitations.Carl Worth1-0/+12
2010-05-26Fix a typo in a comment.Carl Worth1-1/+1
2010-05-26Expand macro arguments before performing argument substitution.Carl Worth1-4/+5
2010-05-26Change macro expansion to append onto token lists rather than printing directly.Carl Worth1-73/+120
2010-05-26Check active expansions before expanding a function-like macro invocation.Carl Worth1-5/+5