core: parser: Remove debug lines

Signed-off-by: Chloe M. <chloe@mirocom.org>
This commit is contained in:
2026-05-23 19:23:39 -04:00
parent 8483d3c445
commit 5c3c78f561
2 changed files with 0 additions and 4 deletions
-1
View File
@@ -103,7 +103,6 @@ parser_nom(struct cescal_state *state, struct token *res)
return -1; return -1;
} }
printf("* %s\n", tokstr(&tok));
if (preprocessor_push(&state->tokbuf, &tok) < 0) { if (preprocessor_push(&state->tokbuf, &tok) < 0) {
return -1; return -1;
} }
-3
View File
@@ -29,8 +29,6 @@ tokbuf_init(struct tokbuf *tokbuf)
return 0; return 0;
} }
#include <stdio.h>
int int
tokbuf_push(struct tokbuf *tokbuf, struct token *tok) tokbuf_push(struct tokbuf *tokbuf, struct token *tok)
{ {
@@ -52,7 +50,6 @@ tokbuf_push(struct tokbuf *tokbuf, struct token *tok)
tokbuf->cap = newcap; tokbuf->cap = newcap;
} }
printf("%d %d\n", tokbuf->head, tok->type);
tokbuf->buf[tokbuf->head++] = *tok; tokbuf->buf[tokbuf->head++] = *tok;
return 0; return 0;
} }