chiark
/
gitweb
/
~mdw
/
sod
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1b394f
)
doc/structures.tex: Fix variable reuse in keyword-args message signature.
author
Mark Wooding
<mdw@distorted.org.uk>
Wed, 2 Aug 2017 09:52:35 +0000
(10:52 +0100)
committer
Mark 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
patch
|
blob
|
blame
|
history
diff --git
a/doc/structures.tex
b/doc/structures.tex
index c5c221912dc9840b7e4f1d88be9ac221468b673d..fd9707626fb39d6e807f3fa894db5041f62b6ea8 100644
(file)
--- a/
doc/structures.tex
+++ b/
doc/structures.tex
@@
-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