60 Commits

Author SHA1 Message Date
Sascha Brawer
c06a377aa3 [feaLib] Implement valueRecordDef statements 2015-08-10 11:17:52 +02:00
Sascha Brawer
4169e584cc [feaLib] Clarify error message for malformed glyph class references
The new message makes clearer what exactly the parser was looking for
when processing a glyph class reference.
2015-08-10 11:17:52 +02:00
Sascha Brawer
bb5a7e7caf [feaLib] Make symbol tables separate objects
For example, named value records follow the same scoping rules
as named glyph classes.
2015-08-10 11:17:52 +02:00
Sascha Brawer
944fab8a5f [feaLib] Implement parsing of feature blocks 2015-08-10 11:17:52 +02:00
Sascha Brawer
3936e334f1 [feaLib] Resolve references to glyph classes 2015-08-10 11:17:52 +02:00
Sascha Brawer
a0bbd5fab9 [feaLib] Detect duplicate glyph class definitions 2015-08-10 11:17:52 +02:00
Sascha Brawer
ba238344b1 [feaLib] Implement top-level glyph class definitions 2015-08-10 11:17:52 +02:00
Sascha Brawer
b86e30d7c6 [feaLib] Rename features.py to ast.py, for Abstract Syntax Tree 2015-08-10 11:17:52 +02:00
Sascha Brawer
23997cfd95 [feaLib] Prevent deprecation warnings on Python 3
In Python 3, the method unittest.TestCase.assertRaisesRegexp
has been renamed to "assertRaisesRegex", and the frameworks spits
out deprecation warnings when using the method name from Python 2.
2015-08-10 11:17:52 +02:00
Sascha Brawer
05fe077654 [feaLib] Parse languagesystem 2015-08-10 11:17:52 +02:00