diff options
| author | robot-piglet <[email protected]> | 2026-03-24 22:03:23 +0300 |
|---|---|---|
| committer | robot-piglet <[email protected]> | 2026-03-24 22:34:09 +0300 |
| commit | 6092233e61d1dc129fe1eb007399cc192c5ceb59 (patch) | |
| tree | 90522e5b7449e5cdb06bd24eafb333b9e9d3e9f1 /contrib/python/fonttools/fontTools/feaLib/parser.py | |
| parent | c8c3fda4b2e47ceaad9790b7a5fb192110162f15 (diff) | |
Intermediate changes
commit_hash:5e2a2254279501ad2bde571fbd53c1a27a00e898
Diffstat (limited to 'contrib/python/fonttools/fontTools/feaLib/parser.py')
| -rw-r--r-- | contrib/python/fonttools/fontTools/feaLib/parser.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/python/fonttools/fontTools/feaLib/parser.py b/contrib/python/fonttools/fontTools/feaLib/parser.py index 0e211e0032a..9233b8739fc 100644 --- a/contrib/python/fonttools/fontTools/feaLib/parser.py +++ b/contrib/python/fonttools/fontTools/feaLib/parser.py @@ -1953,6 +1953,7 @@ class Parser(object): return self.ast.FontRevisionStatement(version, location=location) def parse_conditionset_(self): + location = self.cur_token_location_ name = self.expect_name_() conditions = {} @@ -1987,7 +1988,7 @@ class Parser(object): finalname = self.expect_name_() if finalname != name: raise FeatureLibError('Expected "%s"' % name, self.cur_token_location_) - return self.ast.ConditionsetStatement(name, conditions) + return self.ast.ConditionsetStatement(name, conditions, location=location) def parse_block_( self, block, vertical, stylisticset=None, size_feature=False, cv_feature=None |
