1
0
forked from GitHub/gf-core

(Tutorial) Update the pre syntax

This commit is contained in:
Inari Listenmaa
2020-10-02 17:56:24 +02:00
parent f56fbcf86e
commit 2826061251

View File

@@ -2757,7 +2757,11 @@ Thus the labels ``p1, p2,...`` are hard-coded.
English indefinite article:
```
oper artIndef : Str =
pre {"a" ; "an" / strs {"a" ; "e" ; "i" ; "o"}} ;
pre {
("a" | "e" | "i" | "o") => "an" ;
_ => "a"
} ;
```
Thus
```