X-Git-Url: https://git.distorted.org.uk/~mdw/sod/blobdiff_plain/1f7d590d9c7b87442c8d8b6424ed4f769d377692..64d1ecf751f542782b5ffb9c9469c70d92f423de:/doc/clang.tex?ds=inline

diff --git a/doc/clang.tex b/doc/clang.tex
index c26ece5..8a21449 100644
--- a/doc/clang.tex
+++ b/doc/clang.tex
@@ -34,7 +34,7 @@ The Sod translator represents C types in a fairly simple and direct way.
 However, because it spends a fair amount of its time dealing with C types, it
 provides a number of useful operations and macros.
 
-The class hierarchy is shown in~\xref{fig:proto.c-types}.
+The class hierarchy is shown in~\xref{fig:codegen.c-types.classes}.
 
 \begin{figure} \centering
   \parbox{10pt}{\begin{tabbing}
@@ -51,7 +51,7 @@ The class hierarchy is shown in~\xref{fig:proto.c-types}.
       @|c-function-type|
   \end{tabbing}}
   \caption{Classes representing C types}
-\label{fig:proto.c-types}
+\label{fig:codegen.c-types.classes}
 \end{figure}
 
 C type objects are immutable unless otherwise specified.
@@ -342,7 +342,7 @@ In Sod, the leaf types are
   and matching qualifiers.
 
   A number of symbolic type specifiers for builtin types are predefined as
-  shown in \xref{tab:proto.c-types.simple}.  These are all defined as if by
+  shown in \xref{tab:codegen.c-types.simple}.  These are all defined as if by
   @|define-simple-c-type|, so can be used to construct qualified types.
 \end{describe}
 
@@ -378,7 +378,7 @@ In Sod, the leaf types are
     @|ptrdiff_t|        & @|ptrdiff-t|                          \\ \hlx{vh}
   \end{tabular}
   \caption{Builtin symbolic type specifiers for simple C types}
-  \label{tab:proto.c-types.simple}
+  \label{tab:codegen.c-types.simple}
 \end{table}
 
 \begin{describe}{fun}
