def-gthill / lexurgy

A high-powered sound change applier
GNU General Public License v3.0
47 stars 5 forks source link

Adding diacritics fails if I've explicitly specified the default value #3

Closed def-gthill closed 4 years ago

def-gthill commented 4 years ago

I have this example lsc file:

Feature Type(*cons, vowel)
Feature Height(*low, high)
Feature Depth(*front, back)
Feature Stress(*unstr, str)

Diacritic ́  [str]

Symbol a [vowel low back]
Symbol e [vowel low front]
Symbol i [vowel high front]
Symbol u [vowel high back]

stress [vowel]:
    [] => [str] / $ _

This fails with an error when I apply it to almost anything:

No combination of a symbol and diacritics has the matrix [vowel high str]

These features should produce í, but the explicit "front" in the definition of the i symbol seems to be preventing this.

def-gthill commented 4 years ago

Fixed in Version 0.5.1