summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gdscript_analyzer.h
diff options
context:
space:
mode:
authorclayjohn <claynjohn@gmail.com>2022-10-13 10:31:12 -0700
committerclayjohn <claynjohn@gmail.com>2022-10-13 11:56:45 -0700
commitbe1e9acb7cf8d14b3aa21ee34f6c08625743e1d3 (patch)
tree9e8a8a11e36c9466fdc903842c9af50eebcdc331 /modules/gdscript/gdscript_analyzer.h
parent042e81f663d31c5d0c619349be14919a39333023 (diff)
downloadredot-engine-be1e9acb7cf8d14b3aa21ee34f6c08625743e1d3.tar.gz
Implement RETURN_VALUE_DISCARDED warning in GDscript
Diffstat (limited to 'modules/gdscript/gdscript_analyzer.h')
-rw-r--r--modules/gdscript/gdscript_analyzer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gdscript_analyzer.h b/modules/gdscript/gdscript_analyzer.h
index 3966b81b6e..217a856ce0 100644
--- a/modules/gdscript/gdscript_analyzer.h
+++ b/modules/gdscript/gdscript_analyzer.h
@@ -63,7 +63,7 @@ class GDScriptAnalyzer {
void resolve_class_body(GDScriptParser::ClassNode *p_class);
void resolve_function_signature(GDScriptParser::FunctionNode *p_function);
void resolve_function_body(GDScriptParser::FunctionNode *p_function);
- void resolve_node(GDScriptParser::Node *p_node);
+ void resolve_node(GDScriptParser::Node *p_node, bool p_is_root = true);
void resolve_suite(GDScriptParser::SuiteNode *p_suite);
void resolve_if(GDScriptParser::IfNode *p_if);
void resolve_for(GDScriptParser::ForNode *p_for);