Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle scanning and parsing template literals with invalid escapes ac…
…cording to the ES2018 revision that lifted restrictions on template literal escape sequences. Scanner and Parser currently recognizes the escape sequences, but will still throw an error later during construction of the AST tree since we are not ready to change the AST tree structure yet. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=215250720
- Loading branch information
1 parent
74a4011
commit 32436f4
Showing
6 changed files
with
262 additions
and
48 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
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
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
Oops, something went wrong.