mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-09 22:38:06 -05:00
Make ZoneDefinition sequences also accept eof instead of new line
This commit is contained in:
@ -13,7 +13,10 @@ std::unique_ptr<ZoneDefinitionCommonMatchers::matcher_t> ZoneDefinitionCommonMat
|
||||
create.Identifier(),
|
||||
create.AnyCharBesides({',', '<', '>', '"', '\\', '*', '?', '|', ':'})
|
||||
})),
|
||||
create.Type(SimpleParserValueType::NEW_LINE).NoConsume()
|
||||
create.Or({
|
||||
create.Type(SimpleParserValueType::NEW_LINE),
|
||||
create.Type(SimpleParserValueType::END_OF_FILE)
|
||||
}).NoConsume()
|
||||
}).Transform([](SimpleMatcherFactory::token_list_t& tokens)
|
||||
{
|
||||
std::ostringstream str;
|
||||
|
Reference in New Issue
Block a user