mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Remove eager readahead.
This commit is contained in:
@@ -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])
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user