Fixed bug with end of file and parsing from a file

This commit is contained in:
Daniel Holden
2018-12-15 16:11:39 -05:00
parent 4a992d91ab
commit 37c4de35a3
4 changed files with 82 additions and 14 deletions

View File

@@ -188,7 +188,7 @@ void test_reader(void) {
static int token_count = 0;
static mpc_val_t *print_token(mpc_val_t *x) {
printf("Token: '%s'\n", (char*)x);
/*printf("Token: '%s'\n", (char*)x);*/
token_count++;
return x;
}