| Index: dart/sdk/lib/_internal/compiler/implementation/scanner/parser.dart
|
| diff --git a/dart/sdk/lib/_internal/compiler/implementation/scanner/parser.dart b/dart/sdk/lib/_internal/compiler/implementation/scanner/parser.dart
|
| index 8fcb14683ca9b20fa87fbc890816dcefd7513882..53f04db4ce008d075d40ebab800ee354b95aa083 100644
|
| --- a/dart/sdk/lib/_internal/compiler/implementation/scanner/parser.dart
|
| +++ b/dart/sdk/lib/_internal/compiler/implementation/scanner/parser.dart
|
| @@ -431,16 +431,6 @@ class Parser {
|
| return token;
|
| }
|
|
|
| - bool isDefaultKeyword(Token token) {
|
| - String value = token.stringValue;
|
| - if (identical(value, 'default')) return true;
|
| - if (identical(value, 'factory')) {
|
| - listener.recoverableError("expected 'default'", token: token);
|
| - return true;
|
| - }
|
| - return false;
|
| - }
|
| -
|
| Token skipBlock(Token token) {
|
| if (!optional('{', token)) {
|
| return listener.expectedBlockToSkip(token);
|
|
|