mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-09-09 23:47:07 +00:00
Fix menu dvarStrList not working because of String chaining
This commit is contained in:
@@ -37,6 +37,11 @@ MatcherFactoryWrapper<SimpleParserValue> MenuMatcherFactory::Text() const
|
||||
return MatcherFactoryWrapper(Or({StringChain(), Identifier()}));
|
||||
}
|
||||
|
||||
MatcherFactoryWrapper<SimpleParserValue> MenuMatcherFactory::TextNoChain() const
|
||||
{
|
||||
return MatcherFactoryWrapper(Or({String(), Identifier()}));
|
||||
}
|
||||
|
||||
MatcherFactoryWrapper<SimpleParserValue> MenuMatcherFactory::Numeric() const
|
||||
{
|
||||
return MatcherFactoryWrapper(Or({FloatingPoint(), Integer()}));
|
||||
|
||||
@@ -20,6 +20,7 @@ namespace menu
|
||||
|
||||
_NODISCARD MatcherFactoryWrapper<SimpleParserValue> StringChain() const;
|
||||
_NODISCARD MatcherFactoryWrapper<SimpleParserValue> Text() const;
|
||||
_NODISCARD MatcherFactoryWrapper<SimpleParserValue> TextNoChain() const;
|
||||
_NODISCARD MatcherFactoryWrapper<SimpleParserValue> Numeric() const;
|
||||
|
||||
_NODISCARD MatcherFactoryWrapper<SimpleParserValue> IntExpression() const;
|
||||
|
||||
Reference in New Issue
Block a user