diff options
Diffstat (limited to 'src/lib/prononciation.mly')
-rw-r--r-- | src/lib/prononciation.mly | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/prononciation.mly b/src/lib/prononciation.mly index 614f120..74d9373 100644 --- a/src/lib/prononciation.mly +++ b/src/lib/prononciation.mly @@ -50,7 +50,7 @@ %token X %token Y (* semi voyel j *) %token Z -%token Space +%token <string>Space %token EOL %nonassoc Low @@ -76,7 +76,7 @@ voyel letters : voyel { $1 :: [] } | voyel_without_i I { $1 :: I :: []} - | Space { Space :: [] } + | Space { (Space $1) :: [] } | Sep { Sep :: [] } | B { B :: [] } @@ -93,7 +93,7 @@ letters | G { G :: [] } | G I { J :: I :: [] } | G E { J :: letter_e $2 :: [] } - | G E voyel { J :: $3 :: [] } + | G E voyel { J :: $3 :: [] } | G U { G :: U :: [] } | G U I { G :: I :: [] } | G U E { G :: letter_e $3 :: [] } @@ -116,6 +116,7 @@ letters | O IENT_ { W :: A :: [] } | O I N { W :: I :: N :: [] } + | P P { Nothing :: P :: [] } | P { P :: [] } | Q { K :: [] } @@ -140,7 +141,6 @@ ending: | X_ { S::EOL::[]} | IENT_ { I::T::EOL::[]} | IE_ { I::EOL::[]} - | ENT_ { E::T::EOL::[]} | ERF_ { E_AGRAVE::R::EOL::[]} | EL_ { E_AGRAVE::L::EOL::[]} | EOL { EOL::[] } |