X-Git-Url: https://git.distorted.org.uk/~mdw/sod/blobdiff_plain/caa6f4b99a79f95d15a6cc1e5b8dd27ea48b4d03..fd040f066b906ce63396b9703bc16d32bcc5204e:/doc/syntax.tex

diff --git a/doc/syntax.tex b/doc/syntax.tex
index 18b46e1..c6033cf 100644
--- a/doc/syntax.tex
+++ b/doc/syntax.tex
@@ -540,11 +540,11 @@ necessary in order to resolve certain kinds of circularity.  For example,
 \begin{prog}
 class Sub;                                                      \\+
 
-class Super : SodObject \{                                      \\ \ind
+class Super: SodObject \{                                       \\ \ind
   Sub *sub;                                                   \-\\
 \};                                                             \\+
 
-class Sub : Super \{                                            \\ \ind
+class Sub: Super \{                                             \\ \ind
   /* \dots\ */                                                \-\\
 \};
 \end{prog}
@@ -625,14 +625,14 @@ An @<initializer>, if present, is treated as if a separate
 For example,
 \begin{prog}
 [nick = eg]                                                     \\
-class Example : Super \{                                        \\ \ind
+class Example: Super \{                                         \\ \ind
   int foo = 17;                                               \-\\
 \};
 \end{prog}
 means the same as
 \begin{prog}
 [nick = eg]                                                     \\
-class Example : Super \{                                        \\ \ind
+class Example: Super \{                                         \\ \ind
   int foo;                                                      \\
   eg.foo = 17;                                                \-\\
 \};
