From 800eed6765d43d35a338d3135b3204fa6a318afd Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Tue, 7 Dec 2010 10:47:50 -0800 Subject: [PATCH] glcpp: Don't emit SPACE tokens in conditional_tokens production. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fixes glslparsertest defined-01.vert. Reported-by: José Fonseca Signed-off-by: Kenneth Graunke Acked-by: Carl Worth --- src/glsl/glcpp/glcpp-parse.y | 1 - 1 file changed, 1 deletion(-) 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); -- 2.30.2