summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
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
2010-05-14Add test with extra whitespace in macro defintions and invocations.Carl Worth
2010-05-14Provide implementation for macro arguments containing parentheses.Carl Worth
2010-05-14Add test invoking a macro with an argument containing (non-macro) parentheses.Carl Worth
2010-05-14Fix expansion of composited macros.Carl Worth
2010-05-14Add test for composed invocation of function-like 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-14Add test for function-like macro invocations with multiple-token arguments.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-14Add test where a macro formal parameter is the same as an existing macro.Carl Worth
2010-05-14Implement substitution of macro arguments.Carl Worth
2010-05-14Add tests exercising substitution of arguments in function-like macros.Carl Worth
2010-05-14Make the lexer return SPACE tokens unconditionally.Carl Worth
2010-05-14Makefile: Make "make test" depend on the main program.Carl Worth
2010-05-14Add some whitespace variations to test 15.Carl Worth
2010-05-14Fix parsing of object-like macro with a definition that begins with '('.Carl Worth
2010-05-14Add test for an object-like macro with a definition beginning with '('Carl Worth