mirror of
https://github.com/godotengine/godot.git
synced 2025-01-22 18:43:29 -05:00
Merge pull request #60961 from Chaosus/gds_fix_pow_priority
This commit is contained in:
commit
9b7e16a6b8
2 changed files with 2 additions and 1 deletions
|
@ -3273,7 +3273,7 @@ GDScriptParser::ParseRule *GDScriptParser::get_rule(GDScriptTokenizer::Token::Ty
|
|||
{ &GDScriptParser::parse_unary_operator, &GDScriptParser::parse_binary_operator, PREC_ADDITION_SUBTRACTION }, // PLUS,
|
||||
{ &GDScriptParser::parse_unary_operator, &GDScriptParser::parse_binary_operator, PREC_ADDITION_SUBTRACTION }, // MINUS,
|
||||
{ nullptr, &GDScriptParser::parse_binary_operator, PREC_FACTOR }, // STAR,
|
||||
{ nullptr, &GDScriptParser::parse_binary_operator, PREC_FACTOR }, // STAR_STAR,
|
||||
{ nullptr, &GDScriptParser::parse_binary_operator, PREC_POWER }, // STAR_STAR,
|
||||
{ nullptr, &GDScriptParser::parse_binary_operator, PREC_FACTOR }, // SLASH,
|
||||
{ nullptr, &GDScriptParser::parse_binary_operator, PREC_FACTOR }, // PERCENT,
|
||||
// Assignment
|
||||
|
|
|
@ -1265,6 +1265,7 @@ private:
|
|||
PREC_FACTOR,
|
||||
PREC_SIGN,
|
||||
PREC_BIT_NOT,
|
||||
PREC_POWER,
|
||||
PREC_TYPE_TEST,
|
||||
PREC_AWAIT,
|
||||
PREC_CALL,
|
||||
|
|
Loading…
Reference in a new issue