frontend: update lex token usage

This commit is contained in:
2025-05-08 22:33:05 +01:00
parent b89c3bedc5
commit 8c703199cf

View File

@@ -9,8 +9,8 @@
extern void print_lex_token(struct ivy_token *tok) extern void print_lex_token(struct ivy_token *tok)
{ {
printf("[%lu:%lu - %lu:%lu] ", tok->t_start.p_row, tok->t_start.p_col, printf("[%lu:%lu - %lu:%lu] ", tok->t_start.c_row, tok->t_start.c_col,
tok->t_end.p_row, tok->t_end.p_col); tok->t_end.c_row, tok->t_end.c_col);
switch (tok->t_type) { switch (tok->t_type) {
case IVY_TOK_KEYWORD: case IVY_TOK_KEYWORD: