mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
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>
(cherry picked from commit 800eed6765)
This commit is contained in:
parent
154d0a3e7e
commit
b8e73354d9
1 changed files with 0 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue