diff options
Diffstat (limited to 'src/lib/prononciation.mly')
-rw-r--r-- | src/lib/prononciation.mly | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/lib/prononciation.mly b/src/lib/prononciation.mly index 65e203c..d367170 100644 --- a/src/lib/prononciation.mly +++ b/src/lib/prononciation.mly @@ -58,20 +58,23 @@ %start<Tokens.token list> main %% - -voyel +voyel_without_i : A { A } | E { letter_e $1 } - | I { I } | O { O } | A U { O } | E A U { O } | O U { OU } | U { U } +voyel + : I { I } + | voyel_without_i { $1 } + letters : voyel { $1 :: [] } + | voyel_without_i I { $1 :: I :: []} | Space { Space :: [] } | Sep { Sep :: [] } @@ -101,6 +104,7 @@ letters | L L { Nothing :: L :: [] } | I L { I :: L :: [] } | I L L { I :: Y :: [] } + | voyel_without_i I L L { $1 :: Y :: [] } | L { L :: [] } | M { M :: [] } | M M { M :: [] } |