mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-17 03:59:19 +02:00
Merge branch 'master' into feat/modern-editor
This commit is contained in:
@@ -426,10 +426,9 @@ void cParser::stripFirstTokenBOM(std::string& token, bool ToLower, const char* B
|
||||
}
|
||||
|
||||
// if first "token" was standalone BOM, read the next real token (avoid recursion)
|
||||
while (token.empty() && hasChar()) {
|
||||
readToken(token, ToLower, Break);
|
||||
if (token.empty() && hasChar()) {
|
||||
// readToken will not re-enter BOM stripping because mFirstToken is now false
|
||||
break;
|
||||
readToken(token, ToLower, Break);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user