| Index: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/parser/Parser.java
|
| diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/parser/Parser.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/parser/Parser.java
|
| index 6ee33f6284a63eee40e5bed23c0455a6f052dca2..3dd19f9550fa77a9e952e4b76d105438da98ddf1 100644
|
| --- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/parser/Parser.java
|
| +++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/parser/Parser.java
|
| @@ -5019,11 +5019,11 @@ public class Parser {
|
| private SymbolLiteral parseSymbolLiteral() {
|
| Token poundSign = getAndAdvance();
|
| List<Token> components = new ArrayList<Token>();
|
| - if (matches(TokenType.IDENTIFIER)) {
|
| + if (matchesIdentifier()) {
|
| components.add(getAndAdvance());
|
| while (matches(TokenType.PERIOD)) {
|
| advance();
|
| - if (matches(TokenType.IDENTIFIER)) {
|
| + if (matchesIdentifier()) {
|
| components.add(getAndAdvance());
|
| } else {
|
| reportError(ParserErrorCode.MISSING_IDENTIFIER);
|
|
|