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

This commit is contained in:
Daniel Rosenwasser committed 2015-02-27 12:55:46 -08:00
1 parent 9d89668516
commit 4657c2dfd5
37 files changed
+74 -29

No files matched your search

+4
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;
}