mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 01:41:57 +00:00
Fix header parsing
This commit is contained in:
@@ -47,7 +47,7 @@ void IfcSpfHeader::readParen() {
|
||||
}
|
||||
|
||||
void IfcSpfHeader::readTerminal(const std::string& term, Trail trail) {
|
||||
if (TokenFunc::asString(_lexer->Next()) != term) {
|
||||
if (TokenFunc::asStringRef(_lexer->Next()) != term) {
|
||||
throw IfcException(std::string("Expected " + term));
|
||||
}
|
||||
if (trail == TRAILING_SEMICOLON) {
|
||||
|
||||
Reference in New Issue
Block a user