You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Add typing syntax
This commit is contained in:
@@ -430,6 +430,10 @@ int GDScriptCompiler::_parse_expression(CodeGen &codegen, const GDScriptParser::
|
||||
return dst_addr;
|
||||
|
||||
} break;
|
||||
case GDScriptParser::Node::TYPE_CAST: {
|
||||
const GDScriptParser::CastNode *cn = static_cast<const GDScriptParser::CastNode *>(p_expression);
|
||||
return _parse_expression(codegen, cn->source_node, p_stack_level);
|
||||
} break;
|
||||
case GDScriptParser::Node::TYPE_OPERATOR: {
|
||||
//hell breaks loose
|
||||
|
||||
|
||||
Reference in New Issue
Block a user