summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-08-29 21:55:49 -0700
committerKaz Kylheku <kaz@kylheku.com>2015-08-29 21:55:49 -0700
commit834f4f7d1e56cee66b8cda42ca8bf36da26fe659 (patch)
tree8e4ababf68b9707b67df096849769b301b4c8474
parent0d6676975214c406ff4b773c004cdae12e2b063a (diff)
downloadtxr-834f4f7d1e56cee66b8cda42ca8bf36da26fe659.tar.gz
txr-834f4f7d1e56cee66b8cda42ca8bf36da26fe659.tar.bz2
txr-834f4f7d1e56cee66b8cda42ca8bf36da26fe659.zip
Document alternation syntax.
* txr.1: The { x | y } notation has been used in the document for a long time; now it is explained.
-rw-r--r--txr.18
1 files changed, 8 insertions, 0 deletions
diff --git a/txr.1 b/txr.1
index 8d065c24..73396587 100644
--- a/txr.1
+++ b/txr.1
@@ -10423,6 +10423,14 @@ syntax enclosed in the braces or syntactic unit.
This indicates a repetition of one or more of the given
syntax enclosed in the braces or syntactic unit.
+.coIP {syntax | syntax | ...}
+This indicates a choice among alternatives.
+May be combined with
+.code +
+or
+.code *
+repetition.
+
.ie n \{\
.coIP [syntax] [<word>]
.\}