summary refs log tree commit diff stats
path: root/abdl
diff options
context:
space:
mode:
authorSoniEx2 <endermoneymod@gmail.com>2020-11-06 22:25:12 -0300
committerSoniEx2 <endermoneymod@gmail.com>2020-11-06 22:25:12 -0300
commitff3628c36eab5ec19ab850e9126a951f5c203568 (patch)
treed05f7bf27b0141f779a013bcfa22a16543b33c18 /abdl
parent436939628ff1c5bbc37d5c91c4a7c68d83f12f49 (diff)
Fix subvalue not parsing predicates
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)