diff options
Diffstat (limited to 'abdl/_parser.py')
-rw-r--r-- | abdl/_parser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/abdl/_parser.py b/abdl/_parser.py index a8b17ce..3c38ab2 100644 --- a/abdl/_parser.py +++ b/abdl/_parser.py @@ -103,7 +103,7 @@ def _build_syntax(): + Empty().setParseAction(_vm.End.action)) # multiple value matching - valuesubtree = (Suppress("(") + Group(subtree) + valuesubtree = (Suppress("(") + Group(type_[...] + subtree) + (Suppress(")") | unexpected_token | unexpected_end) + Optional("?", default="")) valuesubtree.setParseAction(_vm.ValueSubtree.action) |