chiark / gitweb /
doc/structures.tex, lib/sod-structs.3: Fix in-chain ichain exemplar.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 15 May 2018 09:46:00 +0000 (10:46 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 8 Jun 2018 18:58:40 +0000 (19:58 +0100)
The general ichain structure is for some superclass on the same chain,
but not necessarily the chain head.  The later prose already has this
right, but the synopsis at the beginning of the section didn't.

doc/structures.tex
lib/sod-structs.3

index fd9707626fb39d6e807f3fa894db5041f62b6ea8..2dfe3559a99bd07272c6e8596e43fa489e9fe7a3 100644 (file)
@@ -363,7 +363,7 @@ type @|struct $C$__ilayout|.
           @<type>_n @<slot>_n;                                \-\\
         \} $c$;                                               \-\\
       \} $c$;                                                   \\
-      struct $H$__ichain_$h$ $h$;                               \\
+      struct $A$__ichain_$h$ $a$;                               \\
       \quad$\vdots$                                           \-\\
     \} $h$;                                                     \\
     union $B$__ichainu_$i$ $i$;                                 \\
index 7ac5cccd701560fed89392322506333d96488276..672fe596debee5c41230b80733af0e853d0622a1 100644 (file)
@@ -542,7 +542,7 @@ struct \fIC\fB__ilayout {
 \h'6n'} \fIc\fB;
 \h'4n'} \fIc\fB;
 \h'4n'\fR...\fB
-\h'4n'struct \fIH\fB__ichain_\fIh\fB \fIh\fB;
+\h'4n'struct \fIA\fB__ichain_\fIh\fB \fIa\fB;
 \h'2n'} \fIh\fB;
 \h'2n'union \fIB\fB__ichainu_\fIi\fB \fIi\fB;
 \h'2n'\fR...\fB