summaryrefslogtreecommitdiff
path: root/glcpp-parse.y
AgeCommit message (Expand)Author
2010-05-25Make the lexer pass whitespace through (as OTHER tokens) for text lines.Carl Worth
2010-05-25Store parsed tokens as token list and print all text lines.Carl Worth
2010-05-25Delete some trailing whitespace.Carl Worth
2010-05-25Starting over with the C99 grammar for the preprocessor.Carl Worth
2010-05-24Switch to intmax_t (rather than int) for #if expressionsCarl Worth
2010-05-24Implement all operators specified for GLSL #if expressions (with tests).Carl Worth
2010-05-20Implement #if, #else, #elif, and #endif with tests.Carl Worth
2010-05-20Implement (and add test) for token pasting.Carl Worth
2010-05-20Pre-expand macro arguments at time of invocation.Carl Worth
2010-05-20Finish cleaning up whitespace differences.Carl Worth
2010-05-20Avoid printing a space at the beginning of lines in the output.Carl Worth
2010-05-20Fix bug of consuming excess whitespace.Carl Worth
2010-05-20Remove unused function _print_string_listCarl Worth
2010-05-20Add test (and fix) for a function argument of a macro that expands with a comma.Carl Worth
2010-05-20Add support for commas within parenthesized groups in function arguments.Carl Worth
2010-05-20Avoid re-expanding a macro name that has once been rejected from expansion.Carl Worth
2010-05-19Use new token_list_t rather than string_list_t for macro values.Carl Worth
2010-05-19Perform "re lexing" on string list values rathern than on text.Carl Worth
2010-05-19Remove unused NEWLINE token.Carl Worth
2010-05-19Remove unneeded YYLEX_PARAM define.Carl Worth
2010-05-19Rename yylex to glcpp_parser_lex and give it a glcpp_parser_t* argument.Carl Worth
2010-05-19Add a wrapper function around the lexer.Carl Worth
2010-05-19Like previous fix, but for object-like macros (and add a test).Carl Worth
2010-05-19Fix bug as in previous fix, but with multi-token argument.Carl Worth
2010-05-19Fix bug (and test) for an invocation using macro name as a non-macro argumentCarl Worth
2010-05-19Fix bug (and add tests) for a function-like macro defined as itself.Carl Worth
2010-05-18Rewrite macro handling to support function-like macro invocation in macro valuesCarl Worth
2010-05-17Fix (and add test for) function-like macro invocation with newlines.Carl Worth
2010-05-17Expect 1 shift/reduce conflict.Carl Worth
2010-05-17Fix bug (and add test) for a function-like-macro appearing as a non-macro.Carl Worth
2010-05-17Add test and fix bug leading to infinite recursion.Carl Worth
2010-05-14Don't return SPACE tokens unless strictly needed.Carl Worth
2010-05-14Provide implementation for macro arguments containing parentheses.Carl Worth
2010-05-14Fix expansion of composited macros.Carl Worth
2010-05-14Eliminate a shift/reduce conflict.Carl Worth
2010-05-14Support macro invocations with multiple tokens for a single argument.Carl Worth
2010-05-14Make macro-expansion productions create string-list values rather than printingCarl Worth
2010-05-14Move most printing to the action in the content production.Carl Worth
2010-05-14Remove _list suffix from several identifiers.Carl Worth
2010-05-14Rename list_t and node_t to string_list_t and string_node_t.Carl Worth
2010-05-14Fix case of a macro formal parameter matching a defined macro.Carl Worth
2010-05-14Implement substitution of macro arguments.Carl Worth
2010-05-14Make the lexer return SPACE tokens unconditionally.Carl Worth
2010-05-14Fix parsing of object-like macro with a definition that begins with '('.Carl Worth
2010-05-14Eliminate a reduce/reduce conflict in the function-like macro production.Carl Worth
2010-05-13Add support for the structure of function-like macros.Carl Worth
2010-05-13Make the lexer distinguish between identifiers and defined macros.Carl Worth
2010-05-12Remove some redundancy in the top-level production.Carl Worth
2010-05-12Simplify lexer significantly (remove all stateful lexing).Carl Worth
2010-05-12Add support for the #undef macro.Carl Worth