| Index: dart/lib/compiler/implementation/scanner/scanner.dart
|
| diff --git a/dart/lib/compiler/implementation/scanner/scanner.dart b/dart/lib/compiler/implementation/scanner/scanner.dart
|
| index 9ef98c399f42839c321735e90da226b5b9124310..63f92a88f6aed56feb63e20915991479a61d69d5 100644
|
| --- a/dart/lib/compiler/implementation/scanner/scanner.dart
|
| +++ b/dart/lib/compiler/implementation/scanner/scanner.dart
|
| @@ -231,7 +231,7 @@ class AbstractScanner<T extends SourceString> implements Scanner {
|
| }
|
|
|
| if (next === $AT) {
|
| - return tokenizeRawString(next);
|
| + return tokenizeAtOrRawString(next);
|
| }
|
|
|
| if (next === $DQ || next === $SQ) {
|
| @@ -672,13 +672,14 @@ class AbstractScanner<T extends SourceString> implements Scanner {
|
| }
|
| }
|
|
|
| - int tokenizeRawString(int next) {
|
| + int tokenizeAtOrRawString(int next) {
|
| int start = byteOffset;
|
| next = advance();
|
| if (next === $DQ || next === $SQ) {
|
| return tokenizeString(next, start, true);
|
| } else {
|
| - throw new MalformedInputException("expected ' or \"", charOffset);
|
| + appendPrecedenceToken(AT_INFO);
|
| + return next;
|
| }
|
| }
|
|
|
|
|