PP: don't give errors on some tokens under #if 0 (or similar).
Fixes #1295. Tokens that are accepted by any version of HLSL or GLSL should be allowed when #ifdef'd off, such that errors are not reported.
This commit is contained in:
@@ -99,6 +99,7 @@ INSTANTIATE_TEST_CASE_P(
|
||||
"cppComplexExpr.vert",
|
||||
"cppDeepNest.frag",
|
||||
"cppPassMacroName.frag",
|
||||
"cppRelaxSkipTokensErrors.vert",
|
||||
"badChars.frag",
|
||||
"pointCoord.frag",
|
||||
"array.frag",
|
||||
|
||||
Reference in New Issue
Block a user