summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Expand)Author
2010-05-27Remove blank lines from output files before comparing.Carl Worth
2010-05-27Implement token pasting of integers.Carl Worth
2010-05-27Add placeholder tokens to support pasting with empty arguments.Carl Worth
2010-05-27Provide support for empty arguments in macro invocations.Carl Worth
2010-05-27Avoid treating an expanded comma as an argument separator.Carl Worth
2010-05-26Add support (and test) for an object-to-function chain with the parens in the...Carl Worth
2010-05-26Treat newlines as space when invoking a function-like macro invocation.Carl Worth
2010-05-26Implement (and test) support for macro expansion within conditional expressions.Carl Worth
2010-05-26Fix lexing of "defined" as an operator, not an identifier.Carl Worth
2010-05-26Implement #if and friends.Carl Worth
2010-05-26Defer test 26 until much later (to test 55).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-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-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-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-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-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-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-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-14Add test with extra whitespace in macro defintions and invocations.Carl Worth
2010-05-14Add test invoking a macro with an argument containing (non-macro) parentheses.Carl Worth
2010-05-14Add test for composed invocation of function-like macros.Carl Worth
2010-05-14Add test for function-like macro invocations with multiple-token arguments.Carl Worth
2010-05-14Add test where a macro formal parameter is the same as an existing macro.Carl Worth
2010-05-14Add tests exercising substitution of arguments in function-like macros.Carl Worth
2010-05-14Add some whitespace variations to test 15.Carl Worth
2010-05-14Add test for an object-like macro with a definition beginning with '('Carl Worth
2010-05-13Add tests for the structure of function-like macros.Carl Worth
2010-05-12Add test case to define, undef, and then again define a macro.Carl Worth
2010-05-12Add test for #undef.Carl Worth
2010-05-12Add test for an empty definition.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-11Add test for chained #define directives.Carl Worth