feat: add out type arg info storing in declaration node

This commit is contained in:
samsonium
2026-11-02 18:55:40 +03:00
parent 3dd70ac293
commit 8975d2fece
+2 -2
View File
@@ -69,7 +69,6 @@ fzl_node_t *pa_externfn(fzl_parser_t *parser)
consume(parser);
is_out = true;
}
(void)is_out;
fzl_node_t *node = pa_expression(parser);
if (!node || node->type != FZL_NODETYPE_DECLARATION)
@@ -86,7 +85,8 @@ fzl_node_t *pa_externfn(fzl_parser_t *parser)
return NULL;
}
args[count++] = node;
node->var.is_out = is_out;
args[count++] = node;
if (is(parser, FZL_TOKTYPE_RPAREN))
break;