summaryrefslogtreecommitdiff
path: root/core/tokbuf.c
diff options
context:
space:
mode:
authorChloe M. <chloe@mirocom.org>2026-05-23 19:23:39 -0400
committerChloe M. <chloe@mirocom.org>2026-05-23 19:24:22 -0400
commit5c3c78f561f50401d26229bd3ed2546558f9e305 (patch)
tree3f91a9041b6e6d0b125edc5b87b5834a18c0be57 /core/tokbuf.c
parent8483d3c4456108cfaf469d4d3867608458f39138 (diff)
core: parser: Remove debug lines
Signed-off-by: Chloe M. <chloe@mirocom.org>
Diffstat (limited to 'core/tokbuf.c')
-rw-r--r--core/tokbuf.c3
1 files changed, 0 insertions, 3 deletions
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;
}