summaryrefslogtreecommitdiffstats
path: root/src/glsl/glcpp/tests
Commit message (Expand)AuthorAgeFilesLines
* glsl/glcpp: Fix glcpp-test to correctly extract test-specific argumentsCarl Worth2014-08-071-1/+1
* glsl/glcpp: Treat CR+LF pair as a single newlineCarl Worth2014-08-071-0/+3
* glsl/glcpp: Add test script for testing various line-termination charactersCarl Worth2014-08-072-11/+137
* glsl/glcpp: Fix for macros that expand to include "defined" operatorsCarl Worth2014-08-072-0/+188
* glsl/glcpp: Swallow empty #pragma directives.Carl Worth2014-08-071-1/+1
* glsl/glcpp: Fix #pragma to not over-increment the line-number countCarl Worth2014-08-072-0/+12
* glsl/glcpp: Add testing for null directives with spaces and commentsCarl Worth2014-08-072-0/+18
* glsl/glcpp: Add tests for #define followed by commentsCarl Worth2014-08-072-2/+8
* glsl/glcpp: Add test for "#define without macro name"Carl Worth2014-08-072-0/+4
* glsl/glcpp: Add explicit error for "#define without macro name"Carl Worth2014-08-071-2/+1
* glsl/glcpp: Add test for a multi-line comment within an #if 0 blockCarl Worth2014-07-292-0/+14
* glsl/glcpp: Test that macro parameters substitute immediately after periodsCarl Worth2014-07-292-0/+8
* glsl/glcpp: Add (non)-support for ++ and -- operatorsCarl Worth2014-07-292-0/+16
* glsl/glcpp: Emit error for duplicate parameter name in function-like macroCarl Worth2014-07-292-0/+6
* glsl/glcpp: Correctly parse directives with intervening commentsCarl Worth2014-07-2913-17/+56
* glsl/glcpp: Fix off-by-one error in column in first-line error messagesCarl Worth2014-07-2916-18/+18
* glsl/glcpp: Minor tweak to wording of error messageCarl Worth2014-07-292-2/+2
* glsl/glcpp: Drop extra, final newline from most outputCarl Worth2014-07-29127-127/+0
* glsl/glcpp: Add testing for EOF sans newline (and fix for <DEFINE>, <COMMENT>)Carl Worth2014-07-296-0/+8
* glsl/glcpp: Add support for comments between #define and macro identifierCarl Worth2014-07-292-0/+5
* glsl/glcpp: Emit proper error for #define with a non-identifierCarl Worth2014-07-292-0/+3
* glsl/glcpp: Add testing for directives preceded by a spaceCarl Worth2014-07-292-0/+43
* glsl/glcpp: Fix to emit spaces following directivesCarl Worth2014-07-291-2/+2
* glsl/glcpp: Don't choke on an empty pragmaCarl Worth2014-07-092-0/+7
* glsl/glcpp: Promote "extra token at end of directive" from warning to errorCarl Worth2014-07-092-0/+13
* glsl/glcpp: Once again report undefined macro name in error message.Carl Worth2014-07-091-2/+2
* glsl/glcpp: Add short-circuiting for || and && in #if/#elif for OpenGL ES.Carl Worth2014-07-092-0/+57
* glsl/glcpp: Fix glcpp to properly lex entire "preprocessing numbers"Carl Worth2014-07-092-0/+75
* glsl/glcpp: Fix glcpp to catch garbage after #if 1 ... #elseCarl Worth2014-07-094-0/+7
* glsl/glcpp: Fixup glcpp tests for redefining a macro with whitespace changes.Carl Worth2014-07-093-1/+40
* glsl/glcpp: Add test to ensure compiler won't allow #undef for some builtinsCarl Worth2014-07-092-0/+10
* glcpp: Do not remove spaces to preserve locations.Sir Anthony2014-03-083-4/+4
* glcpp: Only warn for macro names containing __Ian Romanick2014-02-191-2/+2
* glcpp: Add "make check" test for comment-parsing bugCarl Worth2014-01-312-0/+5
* glcpp: error on multiple #else/#elif directivesErik Faye-Lund2014-01-024-0/+28
* glcpp: Replace multi-line comment with a space (even as part of macro definit...Carl Worth2014-01-025-4/+13
* glcpp: Add test case for recently fixed loop-control underflow bug.Carl Worth2013-06-032-0/+25
* glsl/build: Build glcpp via the glsl MakefileMatt Turner2013-01-221-2/+2
* glcpp: Add tests for line continuationCarl Worth2013-01-114-0/+46
* glcpp: Allow test-specific arguments for standalone glcpp testsCarl Worth2013-01-111-2/+9
* glcpp: Add test involving token pasting of INTEGER tokens.Carl Worth2012-11-292-0/+15
* glcpp: Extend the invalid-paste testCarl Worth2012-11-292-0/+20
* glcpp: Add support for __LINE__ and __FILE__ macrosCarl Worth2012-11-292-0/+15
* glcpp: Support #elif(expression) with no intervening space.Matt Turner2012-11-286-0/+95
* glcpp: Reject #version and #line not followed by whitespaceMatt Turner2012-11-284-0/+6
* glcpp: wire up glcpp-test to make checkMatt Turner2012-11-091-4/+12
* glcpp/tests: Add tests for multiline #elifMatt Turner2012-11-092-0/+15
* glcpp/tests: Add test for multiline #ifMatt Turner2012-11-092-0/+13
* glcpp/tests: Add test for multiline #lineMatt Turner2012-11-092-0/+11
* glcpp/tests: Add test to check #line followed by codeMatt Turner2012-11-092-0/+5