summaryrefslogtreecommitdiff
path: root/src/parser
diff options
context:
space:
mode:
authorZuhaitz Méndez Fernández de Aránguiz <zuhaitz@debian>2026-01-14 12:48:37 +0000
committerZuhaitz Méndez Fernández de Aránguiz <zuhaitz@debian>2026-01-14 12:49:16 +0000
commit2ea86eaa3df4727d86306bbfb0f17ec6bd82fa90 (patch)
tree8a0401a2b2a700194501b2f04f2de6c4b88525fd /src/parser
parent55597a93028e9dbf2314171257f42e0104023896 (diff)
Changed (non-standard) to a more standard approach with .
Diffstat (limited to 'src/parser')
-rw-r--r--src/parser/parser_expr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser/parser_expr.c b/src/parser/parser_expr.c
index 9861de6..b9a1c35 100644
--- a/src/parser/parser_expr.c
+++ b/src/parser/parser_expr.c
@@ -2335,7 +2335,7 @@ ASTNode *parse_expr_prec(ParserContext *ctx, Lexer *l, Precedence min_prec)
call->type_info = type_new(TYPE_INT);
ASTNode *fmt_node = ast_create(NODE_EXPR_LITERAL);
- fmt_node->literal.type_kind = 2;
+ fmt_node->literal.type_kind = TOK_STRING;
fmt_node->literal.string_val = xstrdup(fmt);
ASTNode *head = fmt_node, *tail = fmt_node;