* [feaLib] Raise exception when substitute statement doesnt match any of the rules. Add tests that trigger said exception.
14 lines
349 B
Plaintext
14 lines
349 B
Plaintext
# Trigger a parser error in the function parse_substitute_ in order to improve the error message.
|
|
# Note that this is not a valid substitution, this test is made to trigger an error.
|
|
|
|
languagesystem latn dflt;
|
|
|
|
@base = [a e];
|
|
@accents = [acute grave];
|
|
|
|
feature abvs {
|
|
lookup lookup1 {
|
|
sub @base @accents by @base;
|
|
} lookup1;
|
|
} abvs;
|