diff options
author | George Marques <george@gmarqu.es> | 2023-01-25 12:23:11 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-25 12:23:11 -0300 |
commit | e93266b9ff359c98e9f8e2a550e16ad77490fc4d (patch) | |
tree | 1e4134ddd68f74a1e61982e990df5a2060b3db15 /modules/gdscript/gdscript_analyzer.h | |
parent | 41e5f5b0930343ef548a56d553ba20fafd672147 (diff) | |
parent | 2e488072d090b7fc790bc7703f262159207839a9 (diff) |
Merge pull request #71120 from jordigcs/ternary
Closes https://github.com/godotengine/godot/issues/71065
Diffstat (limited to 'modules/gdscript/gdscript_analyzer.h')
-rw-r--r-- | modules/gdscript/gdscript_analyzer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gdscript_analyzer.h b/modules/gdscript/gdscript_analyzer.h index b22d47982f..5397be33f0 100644 --- a/modules/gdscript/gdscript_analyzer.h +++ b/modules/gdscript/gdscript_analyzer.h @@ -99,7 +99,7 @@ class GDScriptAnalyzer { void reduce_preload(GDScriptParser::PreloadNode *p_preload); void reduce_self(GDScriptParser::SelfNode *p_self); void reduce_subscript(GDScriptParser::SubscriptNode *p_subscript); - void reduce_ternary_op(GDScriptParser::TernaryOpNode *p_ternary_op); + void reduce_ternary_op(GDScriptParser::TernaryOpNode *p_ternary_op, bool p_is_root = false); void reduce_unary_op(GDScriptParser::UnaryOpNode *p_unary_op); void const_fold_array(GDScriptParser::ArrayNode *p_array, bool p_is_const); |