diff options
| author | 2021-07-25 23:54:42 -0400 | |
|---|---|---|
| committer | 2021-07-26 22:55:48 -0400 | |
| commit | 90891d90f00d8e69d4f4a6ed33ff73d2843bc1e4 (patch) | |
| tree | d0aa2685335e20a00b5498b862ae569148ca398b /queryparse.py | |
| parent | queryparse: fix mistaken command in AND (diff) | |
queryparse: fix error in returning from NOT
Diffstat (limited to 'queryparse.py')
| -rw-r--r-- | queryparse.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/queryparse.py b/queryparse.py index 127e09b..bd87079 100644 --- a/queryparse.py +++ b/queryparse.py @@ -85,8 +85,8 @@ def e4(l): def e3(l): typ,_ = classify_head(l) if typ == TokType.NOT: - return encapsulate(e4(l[1:]), \ - TokType.NOT) + pt,l = e4(l[1:]) + return encapsulate(pt, TokType.NOT), l return e4(l) def e2(l): |
