Remove eager readahead.

This commit is contained in:
Christoffer Lerno
2021-12-04 01:20:27 +01:00
parent a9c2e59f60
commit e1fc028694

View File

@@ -1783,6 +1783,8 @@ void lexer_init_with_file(Lexer *lexer, File *file)
while ((c = *(check++)) != '\0') while ((c = *(check++)) != '\0')
{ {
if (c != 0xE2) continue; if (c != 0xE2) continue;
unsigned char next = check[0];
if (next == 0) break;
unsigned char type = check[1]; unsigned char type = check[1];
switch (check[0]) switch (check[0])
{ {