mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
glsl: Fix parser rule for type_specifier
Do not assign a value to ast_type_specifier::precision when no precision qualifier is present.
This commit is contained in:
parent
aaa31bf8f4
commit
33279cd2d3
1 changed files with 3 additions and 0 deletions
|
|
@ -1195,6 +1195,9 @@ storage_qualifier:
|
|||
|
||||
type_specifier:
|
||||
type_specifier_no_prec
|
||||
{
|
||||
$$ = $1;
|
||||
}
|
||||
| precision_qualifier type_specifier_no_prec
|
||||
{
|
||||
$$ = $2;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue