Bump simplecpp (fixes #7742)

This commit is contained in:
PKEuS 2016-10-05 21:35:40 +02:00
parent bcbc8ef017
commit b9f11f246d
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}