forked from google/closure-compiler
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow typescript keywords in import and export statements
Default behavior forbids the use of TypeScript keywords in import and export statements: modify scanner to emit IdentifierTokens when parseTypeSyntax is false. Export decl parser coerces identifiers in exports to keywords: check there also. Addresses google#2005 Closes google#2835 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=188511416
- Loading branch information
1 parent
472860a
commit c6327b8
Showing
4 changed files
with
38 additions
and
12 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
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