Emit all strings with extended escapes using the same scheme as templates.

This commit is contained in:
Daniel Rosenwasser
2015-02-27 12:55:46 -08:00
parent 9d89668516
commit 4657c2dfd5
37 changed files with 74 additions and 29 deletions

View File

@@ -2164,6 +2164,10 @@ module ts {
var text = scanner.getTokenValue();
node.text = internName ? internIdentifier(text) : text;
if (scanner.hasExtendedUnicodeEscape()) {
node.hasExtendedUnicodeEscape = true;
}
if (scanner.isUnterminated()) {
node.isUnterminated = true;
}