doc/syntax.tex: Give the REASON in a `code' definition a name.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 22 Aug 2019 11:54:50 +0000 (12:54 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 22 Aug 2019 12:12:02 +0000 (13:12 +0100)
doc/syntax.tex

index c50608c..0b415d2 100644 (file)
@@ -670,9 +670,11 @@ declarations instead.
 
 \begin{grammar}
 <code-definition> ::=
-  "code" <identifier> ":" <item-name> @[<constraints>@]
+  "code" <reason> ":" <item-name> @[<constraints>@]
   "{" <c-fragment> "}"
 
+<reason> ::= <identifier>
+
 <constraints> ::= "[" <list>$[\mbox{@<constraint>}]$ "]"
 
 <constraint> ::= @<item-name>^+