[PATCH] doc/grammar.txt: add index
Export this patch
---
doc/grammar.txt | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/doc/grammar.txt b/doc/grammar.txt
index 9ccaa59..c4b1365 100644
--- a/doc/grammar.txt
+++ b/doc/grammar.txt
@@ -127,10 +127,13 @@ varname word
numeric
'*'
-access-list numeric
- '-' (WS) numeric
- numeric (WS) '-'
- numeric (WS) '-' (WS) numeric
+access-list index
+ '-' (WS) index
+ index (WS) '-'
+ index (WS) '-' (WS) index
+
+index numeric
+ access
subscript '`' '{' script '}'
'`' string-literal '{' script '}'
--
2.42.0
Thanks!
To git@git.sr.ht:~sircmpwn/rc
62dab51..427f84f master -> master