[feaLib.parser] ignore top-level empty statements made up of a single semicolon
makeotf doesn't complain about them either. Fixes #641
This commit is contained in:
parent
539a5010e5
commit
e9c3686b18
@ -49,6 +49,8 @@ class Parser(object):
|
||||
elif self.is_cur_keyword_("valueRecordDef"):
|
||||
statements.append(
|
||||
self.parse_valuerecord_definition_(vertical=False))
|
||||
elif self.cur_token_type_ is Lexer.SYMBOL and self.cur_token_ == ";":
|
||||
continue
|
||||
else:
|
||||
raise FeatureLibError(
|
||||
"Expected feature, languagesystem, lookup, markClass, "
|
||||
|
Loading…
x
Reference in New Issue
Block a user