]> ocean-lang.org Git - ocean/commitdiff
oceani: fix a couple of typos.
authorNeilBrown <neil@brown.name>
Sat, 20 Apr 2019 04:57:21 +0000 (14:57 +1000)
committerNeilBrown <neil@brown.name>
Sat, 20 Apr 2019 05:02:26 +0000 (15:02 +1000)
There is always one more typo...

Signed-off-by: NeilBrown <neil@brown.name>
csrc/oceani.mdc

index 4f3977592947920ca2b5e4fe0d48a1ad95be69f0..3fd4d74aaa68bb78b5f1880b6abdebce024c7181 100644 (file)
@@ -73,7 +73,7 @@ out the program from the parsed internal structure.  This is useful
 for validating the parsing.
 So the main requirements of the interpreter are:
 
-- Parse the program, possible with tracing
+- Parse the program, possibly with tracing
 - Analyse the parsed program to ensure consistency
 - print the program
 - execute the program
@@ -337,7 +337,7 @@ element where its type was set.  For now we will assume that each line
 of an error message indicates one location in the file, and up to 2
 types.  So we provide a `printf`-like function which takes a format, a
 language (a `struct exec` which has not yet been introduced), and 2
-types. "`$1`" reports the first type, "`$2`" reports the second.  We
+types. "`%1`" reports the first type, "`%2`" reports the second.  We
 will need a function to print the location, once we know how that is
 stored.  As will be explained later, there are sometimes extra rules for
 type matching and they might affect error messages, we need to pass those