diff --git a/doc/gf-refman.html b/doc/gf-refman.html index 1db2b0a87..19e943c49 100644 --- a/doc/gf-refman.html +++ b/doc/gf-refman.html @@ -1834,7 +1834,7 @@ Some expressions are moreover left- or right-associative. 5 -pre {"a" ; "an"/vowel} +pre {vowel => "an" ; _ => "a"} prefix-dependent choice @@ -2264,7 +2264,7 @@ Expressions of type Str have the following canonical forms:
  • the empty token list, []
  • concatenation, s ++ t, where s,t : Str
  • prefix-dependent choice, - pre { s ; s1 / p1 ; ... ; sn / pn}, where + pre {p1 => s1 ; ... ; pn => sn ; _ => s }, where @@ -2344,13 +2344,16 @@ A prime example of prefix-dependent choice operation is the following approximative expression for the English indefinite article:

    -    pre {"a" ; "an" / variants {"a" ; "e" ; "i" ; "o"}}
    +  pre {
    +    ("a" | "e" | "i" | "o") => "an" ;
    +    _ => "a"
    +  } ;
     

    This expression can be computed in the context of a subsequent token: