summaryrefslogtreecommitdiff
path: root/core/tokbuf.c
diff options
context:
space:
mode:
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;
}