aboutsummaryrefslogtreecommitdiffstats
path: root/example/query.md
diff options
context:
space:
mode:
authorGravatar Peter McGoron 2021-07-26 00:19:23 -0400
committerGravatar - 2021-07-26 22:55:56 -0400
commit54f44140ea83074f4a24aaed7c19f31894fad11e (patch)
tree143c0c9673664174728f7945ee2d3a1e3c872e8b /example/query.md
parentadd COPYING (diff)
example/query.md: change to what the code actually implements
Diffstat (limited to 'example/query.md')
-rw-r--r--example/query.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/example/query.md b/example/query.md
index ada8638..2e91a23 100644
--- a/example/query.md
+++ b/example/query.md
@@ -7,8 +7,8 @@ on titles.
The grammar is implemented as a recursive descent parser.
```
-e1 ::= e2 "OR" e1 | e2;
-e2 ::= e3 e2 | e3;
-e3 ::= "NOT" e4 | e4;
+e1 ::= e2 ("OR" e2)*;
+e2 ::= e3*;
+e3 ::= "NOT"? e4;
e4 ::= TAG | "[" e1 "]";
```