| Index: sdk/lib/_internal/compiler/implementation/scanner/parser.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/scanner/parser.dart b/sdk/lib/_internal/compiler/implementation/scanner/parser.dart
|
| index 78329cc69568c1936b775f8146d918dcdf596977..ee84b4c57e6afc1cabc217f1b25c259f19d1e1d0 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/scanner/parser.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/scanner/parser.dart
|
| @@ -52,8 +52,6 @@ class Parser {
|
| return parseClass(token);
|
| } else if (identical(value, 'typedef')) {
|
| return parseTypedef(token);
|
| - } else if (identical(value, '#')) {
|
| - return parseScriptTags(token);
|
| } else if (identical(value, 'library')) {
|
| return parseLibraryName(token);
|
| } else if (identical(value, 'import')) {
|
| @@ -747,24 +745,6 @@ class Parser {
|
| return token;
|
| }
|
|
|
| - Token parseScriptTags(Token token) {
|
| - Token begin = token;
|
| - listener.beginScriptTag(token);
|
| - token = parseIdentifier(token.next);
|
| - token = expect('(', token);
|
| - token = parseLiteralStringOrRecoverExpression(token);
|
| - bool hasPrefix = false;
|
| - if (optional(',', token)) {
|
| - hasPrefix = true;
|
| - token = parseIdentifier(token.next);
|
| - token = expect(':', token);
|
| - token = parseLiteralStringOrRecoverExpression(token);
|
| - }
|
| - token = expect(')', token);
|
| - listener.endScriptTag(hasPrefix, begin, token);
|
| - return expectSemicolon(token);
|
| - }
|
| -
|
| Token parseLiteralStringOrRecoverExpression(Token token) {
|
| if (identical(token.kind, STRING_TOKEN)) {
|
| return parseLiteralString(token);
|
|
|