Bump simplecpp (fixes #7742)
This commit is contained in:
parent
bcbc8ef017
commit
b9f11f246d
|
@ -296,7 +296,7 @@ static unsigned char peekChar(std::istream &istr, unsigned int bom) {
|
|||
|
||||
static void ungetChar(std::istream &istr, unsigned int bom) {
|
||||
istr.unget();
|
||||
if (bom != 0)
|
||||
if (bom == 0xfeff || bom == 0xfffe)
|
||||
istr.unget();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue