2010-05-26 |
Carl Worth | Fix lexing of "defined" as an operator, not an identifier. |
commit | commitdiff | tree |
2010-05-26 |
Carl Worth | Implement #if and friends. |
commit | commitdiff | tree |
2010-05-26 |
Carl Worth | stash |
commit | commitdiff | tree |
2010-05-26 |
Carl Worth | Implement token pasting. |
commit | commitdiff | tree |
2010-05-26 |
Carl Worth | Rename identifier from 'i' to 'node'. |
commit | commitdiff | tree |
2010-05-26 |
Carl Worth | Remove some stale token types. |
commit | commitdiff | tree |
2010-05-26 |
Carl Worth | Prevent unexpanded macros from being expanded again... |
commit | commitdiff | tree |
2010-05-26 |
Carl Worth | README: Document some known limitations. |
commit | commitdiff | tree |
2010-05-26 |
Carl Worth | Fix a typo in a comment. |
commit | commitdiff | tree |
2010-05-26 |
Carl Worth | Expand macro arguments before performing argument subst... |
commit | commitdiff | tree |
2010-05-26 |
Carl Worth | Change macro expansion to append onto token lists rathe... |
commit | commitdiff | tree |
2010-05-26 |
Carl Worth | Check active expansions before expanding a function... |
commit | commitdiff | tree |
2010-05-26 |
Carl Worth | Defer test 26 until much later (to test 55). |
commit | commitdiff | tree |
2010-05-26 |
Carl Worth | Avoid getting extra trailing whitespace from macros. |
commit | commitdiff | tree |
2010-05-26 |
Carl Worth | Remove a bunch of old code and give the static treatmen... |
commit | commitdiff | tree |
2010-05-26 |
Carl Worth | Avoid swallowing initial left parenthesis from nested... |
commit | commitdiff | tree |
2010-05-26 |
Carl Worth | Ignore separating whitespace at the beginning of a... |
commit | commitdiff | tree |
2010-05-26 |
Carl Worth | Implement substitution of function parameters in macro... |
commit | commitdiff | tree |
2010-05-26 |
Carl Worth | Collapse multiple spaces in input down to a single... |
commit | commitdiff | tree |
2010-05-26 |
Carl Worth | Add a test #0 to ensure that we don't do any inadverten... |
commit | commitdiff | tree |
2010-05-26 |
Carl Worth | Pass through literal space values from replacement... |
commit | commitdiff | tree |
2010-05-25 |
Carl Worth | Implement simplified substitution for function-like... |
commit | commitdiff | tree |
2010-05-25 |
Carl Worth | Implement #undef. |
commit | commitdiff | tree |
2010-05-25 |
Carl Worth | Implement expansion of object-like macros. |
commit | commitdiff | tree |
2010-05-25 |
Carl Worth | Make the lexer pass whitespace through (as OTHER tokens... |
commit | commitdiff | tree |
2010-05-25 |
Carl Worth | Store parsed tokens as token list and print all text... |
commit | commitdiff | tree |
2010-05-25 |
Carl Worth | Delete some trailing whitespace. |
commit | commitdiff | tree |
2010-05-25 |
Carl Worth | Add xtalloc_reference. |
commit | commitdiff | tree |
2010-05-25 |
Carl Worth | Starting over with the C99 grammar for the preprocessor. |
commit | commitdiff | tree |
2010-05-24 |
Carl Worth | Add test for '/', '<<', and '>>' in #if expressions. |
commit | commitdiff | tree |
2010-05-24 |
Carl Worth | Add test of bitwise operators and octal/hexadecimal... |
commit | commitdiff | tree |
2010-05-24 |
Carl Worth | Add support for octal and hexadecimal integer literals. |
commit | commitdiff | tree |
2010-05-24 |
Carl Worth | Switch to intmax_t (rather than int) for #if expressions |
commit | commitdiff | tree |
2010-05-24 |
Carl Worth | Add the '~' operator to the lexer. |
commit | commitdiff | tree |
2010-05-24 |
Carl Worth | Implement all operators specified for GLSL #if expressi... |
commit | commitdiff | tree |
2010-05-21 |
Carl Worth | Implement #if, #else, #elif, and #endif with tests. |
commit | commitdiff | tree |
2010-05-20 |
Carl Worth | Implement (and add test) for token pasting. |
commit | commitdiff | tree |
2010-05-20 |
Carl Worth | Pre-expand macro arguments at time of invocation. |
commit | commitdiff | tree |
2010-05-20 |
Carl Worth | Add xtalloc_asprintf |
commit | commitdiff | tree |
2010-05-20 |
Carl Worth | Finish cleaning up whitespace differences. |
commit | commitdiff | tree |
2010-05-20 |
Carl Worth | Avoid printing a space at the beginning of lines in... |
commit | commitdiff | tree |
2010-05-20 |
Carl Worth | Fix bug of consuming excess whitespace. |
commit | commitdiff | tree |
2010-05-20 |
Carl Worth | Remove unused function _print_string_list |
commit | commitdiff | tree |
2010-05-20 |
Carl Worth | Remove "unnecessary" whitespace from some tests. |
commit | commitdiff | tree |
2010-05-20 |
Carl Worth | Stop ignoring whitespace while testing. |
commit | commitdiff | tree |
2010-05-20 |
Carl Worth | Add test (and fix) for a function argument of a macro... |
commit | commitdiff | tree |
2010-05-20 |
Carl Worth | Add support for commas within parenthesized groups... |
commit | commitdiff | tree |
2010-05-20 |
Carl Worth | Avoid re-expanding a macro name that has once been... |
commit | commitdiff | tree |
2010-05-19 |
Carl Worth | Use new token_list_t rather than string_list_t for... |
commit | commitdiff | tree |
2010-05-19 |
Carl Worth | Perform "re lexing" on string list values rathern than... |
commit | commitdiff | tree |
2010-05-19 |
Carl Worth | Remove unused NEWLINE token. |
commit | commitdiff | tree |
2010-05-19 |
Carl Worth | Remove unneeded YYLEX_PARAM define. |
commit | commitdiff | tree |
2010-05-19 |
Carl Worth | Rename yylex to glcpp_parser_lex and give it a glcpp_pa... |
commit | commitdiff | tree |
2010-05-19 |
Carl Worth | Add a wrapper function around the lexer. |
commit | commitdiff | tree |
2010-05-19 |
Carl Worth | Like previous fix, but for object-like macros (and... |
commit | commitdiff | tree |
2010-05-19 |
Carl Worth | Fix bug as in previous fix, but with multi-token argument. |
commit | commitdiff | tree |
2010-05-19 |
Carl Worth | Fix bug (and test) for an invocation using macro name... |
commit | commitdiff | tree |
2010-05-19 |
Carl Worth | Fix bug (and add tests) for a function-like macro defin... |
commit | commitdiff | tree |
2010-05-19 |
Carl Worth | Rewrite macro handling to support function-like macro... |
commit | commitdiff | tree |
2010-05-19 |
Carl Worth | Add several tests where the defined value of a macro... |
commit | commitdiff | tree |
2010-05-17 |
Carl Worth | Fix (and add test for) function-like macro invocation... |
commit | commitdiff | tree |
2010-05-17 |
Carl Worth | Expect 1 shift/reduce conflict. |
commit | commitdiff | tree |
2010-05-17 |
Carl Worth | Fix bug (and add test) for a function-like-macro appear... |
commit | commitdiff | tree |
2010-05-17 |
Carl Worth | Add test and fix bug leading to infinite recursion. |
commit | commitdiff | tree |
2010-05-15 |
Carl Worth | Fix two whitespace bugs in the lexer. |
commit | commitdiff | tree |
2010-05-15 |
Carl Worth | Don't return SPACE tokens unless strictly needed. |
commit | commitdiff | tree |
2010-05-15 |
Carl Worth | Add test with extra whitespace in macro defintions... |
commit | commitdiff | tree |
2010-05-14 |
Carl Worth | Provide implementation for macro arguments containing... |
commit | commitdiff | tree |
2010-05-14 |
Carl Worth | Add test invoking a macro with an argument containing... |
commit | commitdiff | tree |
2010-05-14 |
Carl Worth | Fix expansion of composited macros. |
commit | commitdiff | tree |
2010-05-14 |
Carl Worth | Add test for composed invocation of function-like macros. |
commit | commitdiff | tree |
2010-05-14 |
Carl Worth | Eliminate a shift/reduce conflict. |
commit | commitdiff | tree |
2010-05-14 |
Carl Worth | Support macro invocations with multiple tokens for... |
commit | commitdiff | tree |
2010-05-14 |
Carl Worth | Add test for function-like macro invocations with multi... |
commit | commitdiff | tree |
2010-05-14 |
Carl Worth | Make macro-expansion productions create string-list... |
commit | commitdiff | tree |
2010-05-14 |
Carl Worth | Move most printing to the action in the content production. |
commit | commitdiff | tree |
2010-05-14 |
Carl Worth | Remove _list suffix from several identifiers. |
commit | commitdiff | tree |
2010-05-14 |
Carl Worth | Rename list_t and node_t to string_list_t and string_no... |
commit | commitdiff | tree |
2010-05-14 |
Carl Worth | Fix case of a macro formal parameter matching a defined... |
commit | commitdiff | tree |
2010-05-14 |
Carl Worth | Add test where a macro formal parameter is the same... |
commit | commitdiff | tree |
2010-05-14 |
Carl Worth | Implement substitution of macro arguments. |
commit | commitdiff | tree |
2010-05-14 |
Carl Worth | Add tests exercising substitution of arguments in funct... |
commit | commitdiff | tree |
2010-05-14 |
Carl Worth | Make the lexer return SPACE tokens unconditionally. |
commit | commitdiff | tree |
2010-05-14 |
Carl Worth | Makefile: Make "make test" depend on the main program. |
commit | commitdiff | tree |
2010-05-14 |
Carl Worth | Add some whitespace variations to test 15. |
commit | commitdiff | tree |
2010-05-14 |
Carl Worth | Fix parsing of object-like macro with a definition... |
commit | commitdiff | tree |
2010-05-14 |
Carl Worth | Add test for an object-like macro with a definition... |
commit | commitdiff | tree |
2010-05-14 |
Carl Worth | Eliminate a reduce/reduce conflict in the function... |
commit | commitdiff | tree |
2010-05-13 |
Carl Worth | Add support for the structure of function-like macros. |
commit | commitdiff | tree |
2010-05-13 |
Carl Worth | Add tests for the structure of function-like macros. |
commit | commitdiff | tree |
2010-05-13 |
Carl Worth | Make the lexer distinguish between identifiers and... |
commit | commitdiff | tree |
2010-05-12 |
Carl Worth | Remove some redundancy in the top-level production. |
commit | commitdiff | tree |
2010-05-12 |
Carl Worth | Simplify lexer significantly (remove all stateful lexing). |
commit | commitdiff | tree |
2010-05-12 |
Carl Worth | Add test case to define, undef, and then again define... |
commit | commitdiff | tree |
2010-05-12 |
Carl Worth | Add support for the #undef macro. |
commit | commitdiff | tree |
2010-05-12 |
Carl Worth | Add test for #undef. |
commit | commitdiff | tree |
2010-05-12 |
Carl Worth | Add test for an empty definition. |
commit | commitdiff | tree |
2010-05-12 |
Carl Worth | Convert lexer to talloc and add xtalloc wrappers. |
commit | commitdiff | tree |
2010-05-12 |
Carl Worth | Fix defines involving both literals and other defined... |
commit | commitdiff | tree |
2010-05-11 |
Carl Worth | Add tests defining a macro to be a literal and another... |
commit | commitdiff | tree |
next |