Whitespace handling now that token strings are built on the fly

This commit is contained in:
Thomas Krijnen
2025-10-25 13:55:15 +02:00
parent 2497611abd
commit 2e951eb952
+3 -1
View File
@@ -199,7 +199,9 @@ Token IfcSpfLexer::Next() {
character == '/') {
break;
}
str.push_back(character);
if (!(character == ' ' || character == '\r' || character == '\n' || character == '\t')) {
str.push_back(character);
}
stream->increment();
}
}