diff options
author | Sébastien Dailly <sebastien@chimrod.com> | 2021-09-06 16:13:56 +0200 |
---|---|---|
committer | Sébastien Dailly <sebastien@chimrod.com> | 2021-09-06 16:13:56 +0200 |
commit | e4faaaf8a022fbe2c8c574d2d49155f74aa18a33 (patch) | |
tree | bbc5cbe1e3ab4ae31bfca8a3b1837478d155380f /src/lib | |
parent | a4ec992ad24a5f62e8795f608b3d7943db0d8c1a (diff) |
Update
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/lexer.mll | 1 | ||||
-rw-r--r-- | src/lib/prononciation.mly | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/lexer.mll b/src/lib/lexer.mll index 50c25a7..592b6ed 100644 --- a/src/lib/lexer.mll +++ b/src/lib/lexer.mll @@ -50,6 +50,7 @@ rule letter = parse | "erf" ending { ERF_ } | "el" ending { EL_ } | "ent" ending { ENT_ } +| "ie" ending { IE_ } | "ient" ending { IENT_ } | "x" ending { X_ } diff --git a/src/lib/prononciation.mly b/src/lib/prononciation.mly index d367170..75d9d8b 100644 --- a/src/lib/prononciation.mly +++ b/src/lib/prononciation.mly @@ -21,6 +21,7 @@ %token ERF_ %token EL_ %token IENT_ +%token IE_ %token Sep %token A @@ -84,7 +85,6 @@ letters | C I { S :: I :: [] } | C E { S :: letter_e $2 :: [] } | C U { K :: U :: [] } - | C U I { K :: I :: [] } | C U E { K :: E :: [] } | D { D :: [] } | D D { D :: [] } @@ -137,6 +137,7 @@ letters 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::[]} |