aboutsummaryrefslogtreecommitdiff
path: root/Lib/fontTools/feaLib/parser.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/fontTools/feaLib/parser.py')
-rw-r--r--Lib/fontTools/feaLib/parser.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/Lib/fontTools/feaLib/parser.py b/Lib/fontTools/feaLib/parser.py
index 2b2f2d47..30426987 100644
--- a/Lib/fontTools/feaLib/parser.py
+++ b/Lib/fontTools/feaLib/parser.py
@@ -1207,10 +1207,6 @@ class Parser(object):
script = self.expect_script_tag_()
language = self.expect_language_tag_()
self.expect_symbol_(";")
- if script == "DFLT" and language != "dflt":
- raise FeatureLibError(
- 'For script "DFLT", the language must be "dflt"',
- self.cur_token_location_)
return self.ast.LanguageSystemStatement(script, language,
location=location)