summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/parser.c1
-rw-r--r--core/tokbuf.c3
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;
}