From 80b77d19cee0f3df4457005eead1128b90754a48 Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Tue, 7 Sep 2021 22:33:45 +0200 Subject: Added tests --- src/lib/parser.mly | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/lib/parser.mly') 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) } -- cgit v1.2.3