| Index: pkg/compiler/lib/src/native/scanner.dart
|
| diff --git a/pkg/compiler/lib/src/native/scanner.dart b/pkg/compiler/lib/src/native/scanner.dart
|
| index bbbbb2eaf69a7a70870a97ff2a359418b138f453..cfdb703b35980f353b18505815607b3c1980de24 100644
|
| --- a/pkg/compiler/lib/src/native/scanner.dart
|
| +++ b/pkg/compiler/lib/src/native/scanner.dart
|
| @@ -13,7 +13,7 @@ void checkAllowedLibrary(ElementListener listener, Token token) {
|
| Token handleNativeBlockToSkip(Listener listener, Token token) {
|
| checkAllowedLibrary(listener, token);
|
| token = token.next;
|
| - if (identical(token.kind, STRING_TOKEN)) {
|
| + if (identical(token.kind, Tokens.STRING_TOKEN)) {
|
| token = token.next;
|
| }
|
| if (identical(token.stringValue, '{')) {
|
| @@ -29,7 +29,7 @@ Token handleNativeFunctionBody(ElementListener listener, Token token) {
|
| listener.beginReturnStatement(token);
|
| token = token.next;
|
| bool hasExpression = false;
|
| - if (identical(token.kind, STRING_TOKEN)) {
|
| + if (identical(token.kind, Tokens.STRING_TOKEN)) {
|
| hasExpression = true;
|
| listener.beginLiteralString(token);
|
| listener.endLiteralString(0);
|
|
|