summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
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
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-13Add tests 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 test case to define, undef, and then again define a macro.Carl Worth
2010-05-12Add support for the #undef macro.Carl Worth
2010-05-12Add test for #undef.Carl Worth
2010-05-12Add test for an empty definition.Carl Worth
2010-05-12Convert lexer to talloc and add xtalloc wrappers.Carl Worth
2010-05-12Fix defines involving both literals and other defined macros.Carl Worth
2010-05-11Add tests defining a macro to be a literal and another macro.Carl Worth
2010-05-11Add a couple more tests for chained #define directives.Carl Worth
2010-05-11Fix to handle chained #define directives.Carl Worth
2010-05-11Add test for chained #define directives.Carl Worth
2010-05-11Add README file describing glcpp.Carl Worth
2010-05-10Add a very simple test for the pre-processor.Carl Worth
2010-05-10Implment #defineCarl Worth
2010-05-10Makefile: Enable debugging of parser.Carl Worth
2010-05-10Add hash table implementation from glsl2 project.Carl Worth