Skip to content

Commit

Permalink
emm?
Browse files Browse the repository at this point in the history
  • Loading branch information
littlewhitecloud authored Dec 10, 2023
1 parent 4a411ff commit 320bc7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tokenize.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ static char read_byte(struct State *st) {

// Use the zero byte to represent end of file.
if (c == '\0')
fail_with_error(st->location, "source file contains a zero byte"); // TODO: test this
fail_with_error(st->location, "source file contains a zero byte");
if (c == EOF) {
assert(!ferror(st->f));
return '\0';
Expand Down Expand Up @@ -95,7 +95,7 @@ static void read_identifier_or_number(struct State *st, char firstbyte, char (*d
return;
}
}
}
}

static void consume_rest_of_line(struct State *st)
{
Expand Down

0 comments on commit 320bc7d

Please sign in to comment.