summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gdscript_compiler.h
diff options
context:
space:
mode:
authorDmitrii Maganov <vonagam@gmail.com>2023-03-01 08:47:09 +0200
committerDmitrii Maganov <vonagam@gmail.com>2023-03-01 09:31:35 +0200
commit55a2ad25bf1591876032150cffff7b7c68dcaa17 (patch)
tree61a5e739556efae2c0b7aa2375403a3449c706fa /modules/gdscript/gdscript_compiler.h
parent2e530c13175021c6c9ff71ed8f8539679035827a (diff)
downloadredot-engine-55a2ad25bf1591876032150cffff7b7c68dcaa17.tar.gz
GDScript: Fix checking if a call is awaited in compiler
Diffstat (limited to 'modules/gdscript/gdscript_compiler.h')
-rw-r--r--modules/gdscript/gdscript_compiler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gdscript_compiler.h b/modules/gdscript/gdscript_compiler.h
index 17c6cc8d2f..5328c17c73 100644
--- a/modules/gdscript/gdscript_compiler.h
+++ b/modules/gdscript/gdscript_compiler.h
@@ -137,7 +137,7 @@ class GDScriptCompiler {
int err_column = 0;
StringName source;
String error;
- bool within_await = false;
+ GDScriptParser::ExpressionNode *awaited_node = nullptr;
public:
static void convert_to_initializer_type(Variant &p_variant, const GDScriptParser::VariableNode *p_node);