Index: pkg/front_end/lib/src/fasta/scanner/string_scanner.dart |
diff --git a/pkg/front_end/lib/src/fasta/scanner/string_scanner.dart b/pkg/front_end/lib/src/fasta/scanner/string_scanner.dart |
index 2c90b52e08dc999aabe3e684b3656cac90a80a4a..8e45e86cb0dbe23481e5aeb06883bdfd6106314e 100644 |
--- a/pkg/front_end/lib/src/fasta/scanner/string_scanner.dart |
+++ b/pkg/front_end/lib/src/fasta/scanner/string_scanner.dart |
@@ -60,7 +60,7 @@ class StringScanner extends ArrayBasedScanner { |
TokenType type, int start, bool asciiOnly, String closingQuotes) { |
String source = string.substring(start, scanOffset); |
return new SyntheticStringToken( |
- type, source + closingQuotes, start, source.length); |
+ type, source + closingQuotes, tokenStart, source.length); |
} |
@override |