From: Mark Wooding Date: Tue, 15 May 2018 09:46:00 +0000 (+0100) Subject: doc/structures.tex, lib/sod-structs.3: Fix in-chain ichain exemplar. X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/sod/commitdiff_plain/faf3eb58d676c3abbef538784e26ca398d339caf doc/structures.tex, lib/sod-structs.3: Fix in-chain ichain exemplar. 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. --- diff --git a/doc/structures.tex b/doc/structures.tex index fd97076..2dfe355 100644 --- a/doc/structures.tex +++ b/doc/structures.tex @@ -363,7 +363,7 @@ type @|struct $C$__ilayout|. @_n @_n; \-\\ \} $c$; \-\\ \} $c$; \\ - struct $H$__ichain_$h$ $h$; \\ + struct $A$__ichain_$h$ $a$; \\ \quad$\vdots$ \-\\ \} $h$; \\ union $B$__ichainu_$i$ $i$; \\ diff --git a/lib/sod-structs.3 b/lib/sod-structs.3 index 7ac5ccc..672fe59 100644 --- a/lib/sod-structs.3 +++ b/lib/sod-structs.3 @@ -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