Allow any languages under DFLT script
This commit is contained in:
parent
f251c8d665
commit
1ae0bf87a0
@ -688,9 +688,6 @@ class Builder(object):
|
|||||||
raise FeatureLibError(
|
raise FeatureLibError(
|
||||||
"Language statements are not allowed "
|
"Language statements are not allowed "
|
||||||
"within \"feature %s\"" % self.cur_feature_name_, location)
|
"within \"feature %s\"" % self.cur_feature_name_, location)
|
||||||
if language != 'dflt' and self.script_ == 'DFLT':
|
|
||||||
raise FeatureLibError("Need non-DFLT script when using non-dflt "
|
|
||||||
"language (was: \"%s\")" % language, location)
|
|
||||||
self.cur_lookup_ = None
|
self.cur_lookup_ = None
|
||||||
|
|
||||||
key = (self.script_, language, self.cur_feature_name_)
|
key = (self.script_, language, self.cur_feature_name_)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user