fix: fix toke->value assign on name-not-found error

This commit is contained in:
samsonium
2026-10-17 20:20:10 +03:00
parent 645120eda6
commit f1e97b94a4
+1 -1
View File
@@ -1097,7 +1097,7 @@ fzl_walk_res_t walk(fzl_walker_t *walker, fzl_node_t *node)
if (!found)
{
fzl_token_t *tok = node->binary_op.left->token->value;
fzl_token_t *tok = node->binary_op.left->token;
snprintf(wlast_err, sizeof(wlast_err),
"'%s': name '%s' is not exists at %ld:%ld", tok->filename,
(char *)tok->value, tok->ln, tok->cn);