mirror of
https://github.com/NikitaIvanovV/ctpv.git
synced 2024-11-28 07:23:07 +01:00
Fix
This commit is contained in:
parent
773df4c35a
commit
6900c4c9fa
@ -192,13 +192,12 @@ static void ignore_comments(Lexer *ctx)
|
||||
{
|
||||
char c;
|
||||
|
||||
if (peek_char(ctx) != '#')
|
||||
return;
|
||||
|
||||
while (peek_char(ctx) == '#') {
|
||||
do {
|
||||
c = next_char(ctx);
|
||||
} while (c != '\n');
|
||||
}
|
||||
}
|
||||
|
||||
static void read_while(Lexer *ctx, Predicate p, int add)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user