mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-25 04:22:07 +00:00
Prevent infinite loop with line continuations without newlines
This commit is contained in:
@@ -830,6 +830,7 @@ scanagain:
|
|||||||
goto scanagain;
|
goto scanagain;
|
||||||
} else {
|
} else {
|
||||||
yyerror("Expected a new line after the continuation character.");
|
yyerror("Expected a new line after the continuation character.");
|
||||||
|
pLexBuffer++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user