aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-08-29 22:55:00 +0900
committernsfisis <nsfisis@gmail.com>2025-08-29 22:55:00 +0900
commit51ddd0e8d62ba456688b1ab2d907f7ad3fbd827d (patch)
tree040f492321941093693db03989929742ca02df29
parent34181f22cd6cec033a3136a7eb3c363c9e56d449 (diff)
downloadducc-51ddd0e8d62ba456688b1ab2d907f7ad3fbd827d.tar.gz
ducc-51ddd0e8d62ba456688b1ab2d907f7ad3fbd827d.tar.zst
ducc-51ddd0e8d62ba456688b1ab2d907f7ad3fbd827d.zip
fix: token_kind_stringify()
-rw-r--r--src/token.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/token.c b/src/token.c
index 21f9274..6b06b16 100644
--- a/src/token.c
+++ b/src/token.c
@@ -224,7 +224,7 @@ const char* token_kind_stringify(TokenKind k) {
else if (k == TokenKind_ident)
return "<identifier>";
else if (k == TokenKind_le)
- return "le";
+ return "<=";
else if (k == TokenKind_literal_int)
return "<integer>";
else if (k == TokenKind_literal_str)
@@ -232,7 +232,7 @@ const char* token_kind_stringify(TokenKind k) {
else if (k == TokenKind_lshift)
return "<<";
else if (k == TokenKind_lt)
- return "lt";
+ return "<";
else if (k == TokenKind_minus)
return "-";
else if (k == TokenKind_minusminus)