diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-12-18 20:49:20 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-12-18 20:49:20 -0800 |
commit | f0228c233a9b295c828dc4023f84b092eb8bee51 (patch) | |
tree | 75f39209e2bd7d6ac3e7d2a60879f1f20ebb7646 | |
parent | 5a7197d76cde55d728dd881a37fc23703104b18e (diff) | |
download | txr-f0228c233a9b295c828dc4023f84b092eb8bee51.tar.gz txr-f0228c233a9b295c828dc4023f84b092eb8bee51.tar.bz2 txr-f0228c233a9b295c828dc4023f84b092eb8bee51.zip |
Revise Conventions slightly.
* txr.1: Redundant item removed from Conventions.
Indicate that braces may be removed where it is clear.
-rw-r--r-- | txr.1 | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -10595,15 +10595,21 @@ font .\} denotes some syntactic unit: it may be a symbol or compound form. The syntactic unit is explained -in the Description section. +in the corresponding Description section. .meIP {syntax}* << word * This indicates a repetition of zero or more of the given syntax enclosed in the braces or syntactic unit. +The curly braces may be omitted if the scope of the +.code * +is clear. .meIP {syntax}+ << word + This indicates a repetition of one or more of the given syntax enclosed in the braces or syntactic unit. +The curly braces may be omitted if the scope of the +.code + +is clear. .coIP {syntax | syntax | ...} This indicates a choice among alternatives. @@ -10616,10 +10622,6 @@ repetition. .meIP [syntax] <> [ word ] Square brackets indicate optional syntax. -.coIP alternative1 | alternative2 | ... | alternativeN -Multiple syntactic variations allowed in one place are -indicated as bar-separated items. - .meIP syntax -> < result The arrow notation is used in examples to indicate that the evaluation of the given syntax produces a value, whose printed representation is |