mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-07-26 18:00:38 +00:00
Add permissive mode for menu parsing that accepts unknown script tokens as long as they can be put into the script
This commit is contained in:
@@ -554,7 +554,7 @@ ItemScopeSequences::ItemScopeSequences(std::vector<std::unique_ptr<MenuFileParse
|
||||
{
|
||||
}
|
||||
|
||||
void ItemScopeSequences::AddSequences(FeatureLevel featureLevel)
|
||||
void ItemScopeSequences::AddSequences(FeatureLevel featureLevel, bool permissive)
|
||||
{
|
||||
AddSequence(std::make_unique<SequenceCloseBlock>());
|
||||
AddSequence(std::make_unique<GenericStringPropertySequence>("name", [](const MenuFileParserState* state, const TokenPos&, const std::string& value)
|
||||
|
||||
Reference in New Issue
Block a user