diff options
author | Sébastien Dailly <sebastien@chimrod.com> | 2021-09-07 22:33:45 +0200 |
---|---|---|
committer | Sébastien Dailly <sebastien@chimrod.com> | 2021-09-07 22:33:45 +0200 |
commit | 80b77d19cee0f3df4457005eead1128b90754a48 (patch) | |
tree | 52a36a9f68a2ba06631c1a1a48576afb9c617cc8 /src/lib/parser.mly | |
parent | 96a225fb5fa24a71e1b76e0369126b3bcfab5f81 (diff) |
Added tests
Diffstat (limited to 'src/lib/parser.mly')
-rw-r--r-- | src/lib/parser.mly | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/parser.mly b/src/lib/parser.mly index 42623c7..9d44b1f 100644 --- a/src/lib/parser.mly +++ b/src/lib/parser.mly @@ -60,7 +60,7 @@ consonant: | nasal { $1 } semi_voyel: - | Y { Sounds.semi_voyel_y } + (* | Y { Sounds.semi_voyel_y } *) | W { Sounds.semi_voyel_w } opening_consonant: @@ -95,6 +95,7 @@ voyels_semi: | W A { Sounds.diphtongue Sounds.semi_voyel_w Sounds.a} | W I { Sounds.diphtongue Sounds.semi_voyel_w Sounds.i} | I voyels { Sounds.diphtongue Sounds.semi_voyel_y $2 } + | Y voyels { Sounds.diphtongue Sounds.semi_voyel_y $2 } ending_consonant: | Nothing { Some (Sounds.none) } |