mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 686283 - Properly handle EOF in TokenStream::getAtSourceMappingURL on platforms with unsigned chars. r=luke
This commit is contained in:
parent
4029e9aa72
commit
19beef62f0
@ -1224,8 +1224,7 @@ TokenStream::getAtSourceMappingURL()
|
||||
|
||||
jschar c;
|
||||
while (!IsSpaceOrBOM2((c = getChar())) &&
|
||||
((char) c) != '\0' &&
|
||||
((char) c) != EOF)
|
||||
c && c != jschar(EOF))
|
||||
tokenbuf.append(c);
|
||||
|
||||
if (tokenbuf.empty())
|
||||
|
Loading…
Reference in New Issue
Block a user