diff --git a/QUERY-SPEC.md b/QUERY-SPEC.md index 114a75c..bd6a802 100644 --- a/QUERY-SPEC.md +++ b/QUERY-SPEC.md @@ -110,8 +110,9 @@ what they expand to. ``` query-str := $bom? query -query := selector q-ws* "||" q-ws* query | selector -selector := filter q-ws* selector-operator q-ws* selector | filter +query := selector-start q-ws* "||" q-ws* query | selector-start +selector-start := filter q-ws* selector-operator q-ws* selector | filter +selector := matchers q-ws* selector-operator q-ws* selector | matchers selector-operator := ">>" | ">" | "++" | "+" filter := "top(" q-ws* ")" | matchers matchers := type-matcher $string? accessor-matcher* | $string accessor-matcher* | accessor-matcher+