Chromium Code Reviews| Index: runtime/vm/parser.cc |
| =================================================================== |
| --- runtime/vm/parser.cc (revision 3404) |
| +++ runtime/vm/parser.cc (working copy) |
| @@ -7582,6 +7582,11 @@ |
| void Parser::SkipActualParameters() { |
| ExpectToken(Token::kLPAREN); |
| while (CurrentToken() != Token::kRPAREN) { |
| + if (IsIdentifier() && LookaheadToken(1) == Token::kCOLON) { |
|
regis
2012/01/19 00:36:48
Please add a pair of parenthesis.
hausner
2012/01/19 00:47:33
Done.
|
| + // Named actual parameter. |
| + ConsumeToken(); |
| + ConsumeToken(); |
| + } |
| SkipNestedExpr(); |
| if (CurrentToken() == Token::kCOMMA) { |
| ConsumeToken(); |