chiark / gitweb /
doc/structures.tex: Fix variable reuse in keyword-args message signature.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 2 Aug 2017 09:52:35 +0000 (10:52 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 8 Jun 2018 18:58:40 +0000 (19:58 +0100)
I had `m' as both the message name and the total number of arguments.

doc/structures.tex

index c5c221912dc9840b7e4f1d88be9ac221468b673d..fd9707626fb39d6e807f3fa894db5041f62b6ea8 100644 (file)
@@ -589,7 +589,7 @@ or a standard message which takes keyword arguments, defined as
                     @<type>_n @<arg>_n?                       \+\\
                   @<type>_{n+1} @<kw>_{n+1} @[= @<dflt>_{n+1}@],
                     $\ldots$,
-                    @<type>_m @<kw>_m @[= @<dflt>_m@]);
+                    @<type>_{n'} @<kw>_{n'} @[= @<dflt>_{n'}@]);
 \end{prog}
 two entry points are defined: the usual `main' entry point which accepts a
 variable number of arguments, and a `valist' entry point which accepts an