mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-28 06:42:09 +00:00
- fixed grammar rule for two-dimensional vectors.
This commit is contained in:
parent
3fa315aaea
commit
35cd48b86b
1 changed files with 2 additions and 2 deletions
|
@ -979,7 +979,7 @@ primary(XX) ::= LPAREN expr(A) COMMA expr(B) COMMA expr(C) RPAREN.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
primary(X) ::= LPAREN expr(A) COMMA expr(B) RPAREN.
|
primary(XX) ::= LPAREN expr(A) COMMA expr(B) RPAREN.
|
||||||
{
|
{
|
||||||
NEW_AST_NODE(VectorInitializer, expr, A);
|
NEW_AST_NODE(VectorInitializer, expr, A);
|
||||||
expr->Operation = PEX_Vector;
|
expr->Operation = PEX_Vector;
|
||||||
|
@ -987,7 +987,7 @@ primary(X) ::= LPAREN expr(A) COMMA expr(B) RPAREN.
|
||||||
expr->X = A;
|
expr->X = A;
|
||||||
expr->Y = B;
|
expr->Y = B;
|
||||||
expr->Z = nullptr;
|
expr->Z = nullptr;
|
||||||
X = expr;
|
XX = expr;
|
||||||
}
|
}
|
||||||
|
|
||||||
primary(X) ::= LPAREN expr(A) RPAREN.
|
primary(X) ::= LPAREN expr(A) RPAREN.
|
||||||
|
|
Loading…
Reference in a new issue