diff options
| author | Chloe M. <chloe@mirocom.org> | 2026-05-23 19:23:39 -0400 |
|---|---|---|
| committer | Chloe M. <chloe@mirocom.org> | 2026-05-23 19:24:22 -0400 |
| commit | 5c3c78f561f50401d26229bd3ed2546558f9e305 (patch) | |
| tree | 3f91a9041b6e6d0b125edc5b87b5834a18c0be57 /core | |
| parent | 8483d3c4456108cfaf469d4d3867608458f39138 (diff) | |
core: parser: Remove debug lines
Signed-off-by: Chloe M. <chloe@mirocom.org>
Diffstat (limited to 'core')
| -rw-r--r-- | core/parser.c | 1 | ||||
| -rw-r--r-- | core/tokbuf.c | 3 |
2 files changed, 0 insertions, 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 <stdio.h> - 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; } |
