From 5c3c78f561f50401d26229bd3ed2546558f9e305 Mon Sep 17 00:00:00 2001 From: "Chloe M." Date: Sat, 23 May 2026 19:23:39 -0400 Subject: core: parser: Remove debug lines Signed-off-by: Chloe M. --- core/parser.c | 1 - core/tokbuf.c | 3 --- 2 files changed, 4 deletions(-) diff --git a/core/parser.c b/core/parser.c index 48640d8..b4f5696 100644 --- a/core/parser.c +++ b/core/parser.c @@ -103,7 +103,6 @@ parser_nom(struct cescal_state *state, struct token *res) return -1; } - printf("* %s\n", tokstr(&tok)); if (preprocessor_push(&state->tokbuf, &tok) < 0) { return -1; } diff --git a/core/tokbuf.c b/core/tokbuf.c index 1c9783f..0a1cde4 100644 --- a/core/tokbuf.c +++ b/core/tokbuf.c @@ -29,8 +29,6 @@ tokbuf_init(struct tokbuf *tokbuf) return 0; } -#include - int tokbuf_push(struct tokbuf *tokbuf, struct token *tok) { @@ -52,7 +50,6 @@ tokbuf_push(struct tokbuf *tokbuf, struct token *tok) tokbuf->cap = newcap; } - printf("%d %d\n", tokbuf->head, tok->type); tokbuf->buf[tokbuf->head++] = *tok; return 0; } -- cgit v1.2.3