mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-25 13:11:00 +00:00
[glsl] Fix multiplication after addition
I'd goofed when transcribing the glsl grammar.
This commit is contained in:
parent
7a2027276b
commit
2fc3a43e31
1 changed files with 2 additions and 2 deletions
|
@ -402,11 +402,11 @@ multiplicative_expression
|
|||
|
||||
additive_expression
|
||||
: multiplicative_expression
|
||||
| additive_expression '+' unary_expression
|
||||
| additive_expression '+' multiplicative_expression
|
||||
{
|
||||
$$ = binary_expr ('+', $1, $3);
|
||||
}
|
||||
| additive_expression '-' unary_expression
|
||||
| additive_expression '-' multiplicative_expression
|
||||
{
|
||||
$$ = binary_expr ('-', $1, $3);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue