summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gdscript_analyzer.h
diff options
context:
space:
mode:
authorGeorge Marques <george@gmarqu.es>2020-06-11 21:49:58 -0300
committerGeorge Marques <george@gmarqu.es>2020-07-20 11:38:40 -0300
commitdadfcd8aba8df696f7c608866a34b4e5ee55a0bf (patch)
tree3a56d430105efb8df17dcbabe807d302d9687462 /modules/gdscript/gdscript_analyzer.h
parent95c0909290508620bd330c2b4f7120c92cd73f0c (diff)
downloadredot-engine-dadfcd8aba8df696f7c608866a34b4e5ee55a0bf.tar.gz
Added support for enums to be used as types 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 5de5c7ab85..b21a003e47 100644
--- a/modules/gdscript/gdscript_analyzer.h
+++ b/modules/gdscript/gdscript_analyzer.h
@@ -78,7 +78,7 @@ class GDScriptAnalyzer {
void reduce_cast(GDScriptParser::CastNode *p_cast);
void reduce_dictionary(GDScriptParser::DictionaryNode *p_dictionary);
void reduce_get_node(GDScriptParser::GetNodeNode *p_get_node);
- void reduce_identifier(GDScriptParser::IdentifierNode *p_identifier);
+ void reduce_identifier(GDScriptParser::IdentifierNode *p_identifier, bool can_be_builtin = false);
void reduce_identifier_from_base(GDScriptParser::IdentifierNode *p_identifier, GDScriptParser::DataType *p_base = nullptr);
void reduce_literal(GDScriptParser::LiteralNode *p_literal);
void reduce_preload(GDScriptParser::PreloadNode *p_preload);