diff options
author | Dmitrii Maganov <vonagam@gmail.com> | 2023-01-08 05:41:06 +0200 |
---|---|---|
committer | Dmitrii Maganov <vonagam@gmail.com> | 2023-01-08 07:29:10 +0200 |
commit | 5e2ac1a31ee34842438a3a76c54f6a15df77bb95 (patch) | |
tree | acc94d855b8469ba987c7b3bc2b91dce9192ce69 /modules/gdscript/gdscript_analyzer.h | |
parent | fcba87e696d58912838d8a4a6987b10efa28e78f (diff) | |
download | redot-engine-5e2ac1a31ee34842438a3a76c54f6a15df77bb95.tar.gz |
GDScript: Begin making constants deep, not shallow or flat
Diffstat (limited to 'modules/gdscript/gdscript_analyzer.h')
-rw-r--r-- | modules/gdscript/gdscript_analyzer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gdscript/gdscript_analyzer.h b/modules/gdscript/gdscript_analyzer.h index a7f8e3b556..020c5f9022 100644 --- a/modules/gdscript/gdscript_analyzer.h +++ b/modules/gdscript/gdscript_analyzer.h @@ -102,8 +102,8 @@ class GDScriptAnalyzer { void reduce_ternary_op(GDScriptParser::TernaryOpNode *p_ternary_op); void reduce_unary_op(GDScriptParser::UnaryOpNode *p_unary_op); - void const_fold_array(GDScriptParser::ArrayNode *p_array); - void const_fold_dictionary(GDScriptParser::DictionaryNode *p_dictionary); + void const_fold_array(GDScriptParser::ArrayNode *p_array, bool p_is_const); + void const_fold_dictionary(GDScriptParser::DictionaryNode *p_dictionary, bool p_is_const); // Helpers. GDScriptParser::DataType type_from_variant(const Variant &p_value, const GDScriptParser::Node *p_source); |