mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-18 13:12:50 +00:00
fixed string parsing
This commit is contained in:
parent
f615a9397b
commit
63b1df85e7
@ -113,6 +113,9 @@ CSMFilter::Token CSMFilter::Parser::getStringToken()
|
||||
error();
|
||||
return Token (Token::Type_None);
|
||||
}
|
||||
|
||||
if (string[0]=='"')
|
||||
string = string.substr (1, string.size()-2);
|
||||
}
|
||||
|
||||
return checkKeywords (string);
|
||||
|
Loading…
x
Reference in New Issue
Block a user