Use StringChain in menu parsing whenever applicable

This commit is contained in:
Jan 2021-12-04 13:38:51 +01:00
parent 616c6414ff
commit 05de9cab29
3 changed files with 3 additions and 3 deletions

View File

@ -82,7 +82,7 @@ namespace menu::global_scope_sequences
AddMatchers({
create.Keyword("loadMenu"),
create.Char('{'),
create.String().Capture(CAPTURE_MENU_NAME),
create.StringChain().Capture(CAPTURE_MENU_NAME),
create.Char('}'),
});
}

View File

@ -488,7 +488,7 @@ namespace menu::item_scope_sequences
AddMatchers({
create.KeywordIgnoreCase("execKey"),
create.String().Capture(CAPTURE_KEY),
create.StringChain().Capture(CAPTURE_KEY),
create.Char('{')
});
}

View File

@ -158,7 +158,7 @@ namespace menu::menu_scope_sequences
AddMatchers({
create.KeywordIgnoreCase("execKey"),
create.String().Capture(CAPTURE_KEY),
create.StringChain().Capture(CAPTURE_KEY),
create.Char('{')
});
}