| Index: compiler/java/com/google/dart/compiler/parser/DartParser.java
|
| diff --git a/compiler/java/com/google/dart/compiler/parser/DartParser.java b/compiler/java/com/google/dart/compiler/parser/DartParser.java
|
| index 8fb0716a93ab58ef74f8614d319a1b3fcd108005..12762bf7860bdb0442fc9b8332282b6dc17244f7 100644
|
| --- a/compiler/java/com/google/dart/compiler/parser/DartParser.java
|
| +++ b/compiler/java/com/google/dart/compiler/parser/DartParser.java
|
| @@ -3930,6 +3930,11 @@ public class DartParser extends CompletionHooksParserBase {
|
| case RBRACE:
|
| case EOS:
|
| return statements;
|
| + case IDENTIFIER:
|
| + // Handle consecutively labelled case statements
|
| + if (peek(1).equals(Token.COLON) && peek(2).equals(Token.CASE)) {
|
| + return statements;
|
| + }
|
| default:
|
| boolean oldInCaseStatement = inCaseStatement;
|
| inCaseStatement = true;
|
|
|