mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-10 14:58:10 -05:00
Fix abstract lexer not currently setting string token pos
This commit is contained in:
@ -118,7 +118,7 @@ SimpleParserValue SimpleLexer::GetNextToken()
|
||||
}
|
||||
|
||||
if (m_config.m_read_strings && c == '\"')
|
||||
return SimpleParserValue::String(GetPreviousCharacterPos(), new std::string(ReadString()));
|
||||
return SimpleParserValue::String(pos, new std::string(ReadString()));
|
||||
|
||||
if (m_config.m_read_numbers && (isdigit(c) || c == '.' && isdigit(PeekChar())))
|
||||
{
|
||||
|
Reference in New Issue
Block a user