summaryrefslogtreecommitdiffstats
path: root/src/intel/tools/meson.build
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2018-09-01 23:57:38 +1000
committerTimothy Arceri <[email protected]>2018-09-06 10:13:21 +1000
commitb9fe8ff23dcfe4956be1eac4de0838d4a3720315 (patch)
tree6b67cbebef5bc34151ff374e76f89a8093dbbbd1 /src/intel/tools/meson.build
parent2454742a8447ef021bfbb17f1e87e59bc8cbfcb6 (diff)
glsl: fixer lexer for unreachable defines
If we have something like: #ifdef NOT_DEFINED #define A_MACRO(x) \ if (x) #endif The # on the #define is not skipped but the define itself is so this then gets recognised as #if. Until 28a3731e3f this didn't happen because we ended up in <HASH>{NONSPACE} where BEGIN INITIAL was called stopping the problem from happening. This change makes sure we never call RETURN_TOKEN_NEVER_SKIP for if/else/endif when processing a define. Cc: Ian Romanick <[email protected]> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107772 Tested-By: Eero Tamminen <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/intel/tools/meson.build')
0 files changed, 0 insertions, 0 deletions