summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2010-05-25Ignore separating whitespace at the beginning of a macro argument.Carl Worth
2010-05-25Implement substitution of function parameters in macro calls.Carl Worth
2010-05-25Collapse multiple spaces in input down to a single space.Carl Worth
2010-05-25Add a test #0 to ensure that we don't do any inadvertent token pasting.Carl Worth
2010-05-25Pass through literal space values from replacement lists.Carl Worth
2010-05-25Implement simplified substitution for function-like macro invocation.Carl Worth
2010-05-25Implement #undef.Carl Worth
2010-05-25Implement expansion of object-like macros.Carl Worth
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-25Add xtalloc_reference.Carl Worth
2010-05-25Starting over with the C99 grammar for the preprocessor.Carl Worth
2010-05-24Add test for '/', '<<', and '>>' in #if expressions.Carl Worth
2010-05-24Add test of bitwise operators and octal/hexadecimal literals.Carl Worth
2010-05-24Add support for octal and hexadecimal integer literals.Carl Worth
2010-05-24Switch to intmax_t (rather than int) for #if expressionsCarl Worth
2010-05-24Add the '~' operator to the lexer.Carl 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-20Add xtalloc_asprintfCarl 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-20Remove "unnecessary" whitespace from some tests.Carl Worth
2010-05-20Stop ignoring whitespace while testing.Carl 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-18Add several tests where the defined value of a macro is (or looks like) a macroCarl 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-14Fix two whitespace bugs in the lexer.Carl Worth
2010-05-14Don't return SPACE tokens unless strictly needed.Carl Worth