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 3c38ab2..074b351 100644 --- a/abdl/_parser.py +++ b/abdl/_parser.py @@ -113,6 +113,6 @@ def _build_syntax(): + (valuesubtree + Empty().setParseAction(_vm.End.action))[...]) - return ((subtree | unexpected_token) + StringEnd()).parseWithTabs() + return ((subtree | unexpected_token) + (StringEnd() | unexpected_token)).parseWithTabs() BUILT_SYNTAX = _build_syntax() |