core: parser: Remove debug lines
Signed-off-by: Chloe M. <chloe@mirocom.org>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user