fix: use C locale by default

This commit is contained in:
Simon Gene Gottlieb
2024-07-17 13:06:39 +02:00
committed by Jesse Beder
parent 1d8ca1f35e
commit b95aa146ec
6 changed files with 19 additions and 0 deletions

View File

@@ -77,6 +77,7 @@ void Parser::HandleYamlDirective(const Token& token) {
}
std::stringstream str(token.params[0]);
str.imbue(std::locale("C"));
str >> m_pDirectives->version.major;
str.get();
str >> m_pDirectives->version.minor;