X-Git-Url: https://git.distorted.org.uk/~mdw/sod/blobdiff_plain/342ff69711cb78acc769bc93edb6f0e6f797ed96..40f2456eca4c0386a1fd473cfdf61253d13f0048:/doc/syntax.tex

diff --git a/doc/syntax.tex b/doc/syntax.tex
index c50608c..0b415d2 100644
--- a/doc/syntax.tex
+++ b/doc/syntax.tex
@@ -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>^+
