Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 1 addition & 12 deletions lib/basic/src/basic_parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,19 +49,8 @@ int basic_parse_to_ast_between_level(BASICTokenParseList *parse_list, ASTNode *r
{
switch (parse_list->tokens[i].token_type)
{
// Part of an expression
case TOKEN_IDENTIFIER:
{
// The identifier may be a function call
if (basic_parse_id_is_fn_call(parse_list->tokens, i, to))
{
cb_ret = basic_parse_form_function(parse_list, root, i, to, &i);
if (cb_ret != 0)
return cb_ret;
break;
}
}

// Not a function call, so it may be an expression
case TOKEN_NUM:
case TOKEN_STRING:
case TOKEN_SEPARATOR:
Expand Down
Loading