Skip to content

Commit cda9f20

Browse files
committed
Add comment.
1 parent c56448d commit cda9f20

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

modules/pscript/pscript_parser.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1131,6 +1131,11 @@ PScriptParser::Node *PScriptParser::_parse_expression(Node *p_parent, bool p_sta
11311131
tokenizer->advance();
11321132

11331133
} else if (tokenizer->get_token() == PScriptTokenizer::TK_BUILT_IN_TYPE && tokenizer->get_token(next_valid_offset) == PScriptTokenizer::TK_OP_LESS) {
1134+
// Special Handling for:
1135+
// .. var = TypedArray<type>();
1136+
// .. var = PackedTypedArray<type>();
1137+
// .. var = PackedTypedArray<type, int type>();
1138+
11341139
OperatorNode *op = alloc_node<OperatorNode>();
11351140
op->op = OperatorNode::OP_CALL;
11361141

0 commit comments

Comments
 (0)