summaryrefslogtreecommitdiff
path: root/glcpp-parse.y
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-02Restore error message for a macro with unbalanced parentheses.Carl Worth1-1/+4
2010-06-02Eliminate some recursion from children of _expand_token_listCarl Worth1-56/+103
2010-06-02Remove dead code: _glcpp_parser_expand_token_list_ontoCarl Worth1-10/+0
2010-06-01Fix #if-skipping to *really* skip the skipped group.Carl Worth1-11/+4
2010-05-29Add test and fix bugs with multiple token-pasting on the same line.Carl Worth1-51/+41
2010-05-29Fix pass-through of '=' and add a test for it.Carl Worth1-0/+1
2010-05-28Perform macro by replacing tokens in original list.take-2Carl Worth1-99/+179
2010-05-28Simplify calling conventions of functions under expand_token_list_onto.Carl Worth1-85/+74
2010-05-28Revert "Add support for an object-to-function chain with the parens in the co...Carl Worth1-49/+16
2010-05-27Implement token pasting of integers.Carl Worth1-10/+22
2010-05-27Add placeholder tokens to support pasting with empty arguments.Carl Worth1-6/+30
2010-05-27Provide support for empty arguments in macro invocations.Carl Worth1-9/+11
2010-05-27Make two list-processing functions do nothing with an empty list.Carl Worth1-1/+4
2010-05-27Avoid treating an expanded comma as an argument separator.Carl Worth1-2/+16
2010-05-26Add support (and test) for an object-to-function chain with the parens in the...Carl Worth1-16/+49
2010-05-26Treat newlines as space when invoking a function-like macro invocation.Carl Worth1-2/+59
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 Worth1-22/+133
2010-05-26stashCarl Worth1-5/+136
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-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
2010-05-25Avoid getting extra trailing whitespace from macros.Carl Worth1-2/+28
2010-05-25Remove a bunch of old code and give the static treatment to what's left.Carl Worth1-241/+21
2010-05-25Avoid swallowing initial left parenthesis from nested macro invocation.Carl Worth1-2/+6
2010-05-25Ignore separating whitespace at the beginning of a macro argument.Carl Worth1-9/+11
2010-05-25Implement substitution of function parameters in macro calls.Carl Worth1-8/+57
2010-05-25Collapse multiple spaces in input down to a single space.Carl Worth1-4/+6
2010-05-25Pass through literal space values from replacement lists.Carl Worth1-5/+5
2010-05-25Implement simplified substitution for function-like macro invocation.Carl Worth1-20/+154
2010-05-25Implement #undef.Carl Worth1-1/+11
2010-05-25Implement expansion of object-like macros.Carl Worth1-18/+110
2010-05-25Make the lexer pass whitespace through (as OTHER tokens) for text lines.Carl Worth1-2/+0
2010-05-25Store parsed tokens as token list and print all text lines.Carl Worth1-55/+172
2010-05-25Delete some trailing whitespace.Carl Worth1-4/+4
2010-05-25Starting over with the C99 grammar for the preprocessor.Carl Worth1-335/+66
2010-05-24Switch to intmax_t (rather than int) for #if expressionsCarl Worth1-1/+3
2010-05-24Implement all operators specified for GLSL #if expressions (with tests).Carl Worth1-7/+90
2010-05-20Implement #if, #else, #elif, and #endif with tests.Carl Worth1-3/+106
2010-05-20Implement (and add test) for token pasting.Carl Worth1-3/+24
2010-05-20Pre-expand macro arguments at time of invocation.Carl Worth1-60/+28
2010-05-20Finish cleaning up whitespace differences.Carl Worth1-0/+9
2010-05-20Avoid printing a space at the beginning of lines in the output.Carl Worth1-7/+11