core: parser: Remove debug lines
Signed-off-by: Chloe M. <chloe@mirocom.org>
This commit is contained in:
@@ -29,8 +29,6 @@ tokbuf_init(struct tokbuf *tokbuf)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <stdio.h>
|
|
||||||
|
|
||||||
int
|
int
|
||||||
tokbuf_push(struct tokbuf *tokbuf, struct token *tok)
|
tokbuf_push(struct tokbuf *tokbuf, struct token *tok)
|
||||||
{
|
{
|
||||||
@@ -52,7 +50,6 @@ tokbuf_push(struct tokbuf *tokbuf, struct token *tok)
|
|||||||
tokbuf->cap = newcap;
|
tokbuf->cap = newcap;
|
||||||
}
|
}
|
||||||
|
|
||||||
printf("%d %d\n", tokbuf->head, tok->type);
|
|
||||||
tokbuf->buf[tokbuf->head++] = *tok;
|
tokbuf->buf[tokbuf->head++] = *tok;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user