-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[glyphs] Improve parsing of escape sequences
This will now handle unicode escapes, including surrogate pairs. Will error on unpaired surrogate pairs. In the process of this work I noticed a few other omissions related to string parsing; the major one is that the reference impl supports the use of single quotes to delimit strings. This doesn't seem to be in any of our sources, but it might be worth fixing now?
- Loading branch information
Showing
1 changed file
with
125 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters