diff options
author | Kenneth Graunke <[email protected]> | 2010-12-07 10:47:50 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2010-12-07 10:52:36 -0800 |
commit | 800eed6765d43d35a338d3135b3204fa6a318afd (patch) | |
tree | cfc8f3b049e9a9369b53a7ea297544240934bbe5 /src/glsl/glcpp/glcpp-parse.y | |
parent | d8b861987d32444586e786cb39c6ef1c7498ae9b (diff) |
glcpp: Don't emit SPACE tokens in conditional_tokens production.
Fixes glslparsertest defined-01.vert.
Reported-by: José Fonseca <[email protected]>
Signed-off-by: Kenneth Graunke <[email protected]>
Acked-by: Carl Worth <[email protected]>
Diffstat (limited to 'src/glsl/glcpp/glcpp-parse.y')
-rw-r--r-- | src/glsl/glcpp/glcpp-parse.y | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/glsl/glcpp/glcpp-parse.y b/src/glsl/glcpp/glcpp-parse.y index 8475e08f00c..558ad0acacc 100644 --- a/src/glsl/glcpp/glcpp-parse.y +++ b/src/glsl/glcpp/glcpp-parse.y @@ -472,7 +472,6 @@ conditional_token: conditional_tokens: /* Exactly the same as pp_tokens, but using conditional_token */ conditional_token { - parser->space_tokens = 1; $$ = _token_list_create (parser); _token_list_append ($$, $1); talloc_unlink (parser, $1); |