diff options
Diffstat (limited to 'tools/common/toml.cpp')
-rw-r--r-- | tools/common/toml.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/common/toml.cpp b/tools/common/toml.cpp index 4e8e6da6..f6ce7a89 100644 --- a/tools/common/toml.cpp +++ b/tools/common/toml.cpp @@ -216,6 +216,10 @@ TomlKeyValue TomlFile::get_next_value() if(t.m_type != Token::Type::Comma) break; } + while( t.m_type == Token::Type::Newline ) + { + t = m_lexer.get_token(); + } if(t.m_type != Token::Type::SquareClose) throw ::std::runtime_error(::format(m_lexer, ": Unexpected token after array - ", t)); break; |