glcpp: Don't emit SPACE tokens in conditional_tokens production.

Fixes glslparsertest defined-01.vert.

Reported-by: José Fonseca <jfonseca@vmware.com>
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Acked-by: Carl Worth <cworth@cworth.org>
This commit is contained in:
Kenneth Graunke
2010-12-07 10:47:50 -08:00
parent d8b861987d
commit 800eed6765

View File

@@ -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);