mirror of
https://github.com/gbdev/rgbds.git
synced 2026-10-21 03:22:01 +00:00
Prevent infinite loop with line continuations without newlines
This commit is contained in:
1 parent
6755a0912b
commit
6d00877231
1 file changed
+1
@@ -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