summary refs log tree commit diff stats
path: root/abdl
diff options
context:
space:
mode:
Diffstat (limited to 'abdl')
-rw-r--r--abdl/_parser.py2
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)