remove debug info
This commit is contained in:
parent
72f36de60c
commit
e104489ee4
1 changed files with 0 additions and 10 deletions
10
boot.c
10
boot.c
|
@ -587,16 +587,6 @@ void next_token() {
|
||||||
fprintf(stderr, "unexpected character: %c(%d)\n", ch, ch);
|
fprintf(stderr, "unexpected character: %c(%d)\n", ch, ch);
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
// debug info
|
|
||||||
if (0) {
|
|
||||||
fprintf(stderr, "token: %d\n", token_type);
|
|
||||||
if (token_type == TOKEN_ID) {
|
|
||||||
char* name = id_table + id_lut[token_data];
|
|
||||||
fprintf(stderr, " id: %s\n", name);
|
|
||||||
} else if (token_type == TOKEN_NUMBER) {
|
|
||||||
fprintf(stderr, " number: %d\n", token_data);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void expect_token(int expected_type) {
|
void expect_token(int expected_type) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue