Chromium Code Reviews| Index: dart/lib/compiler/implementation/scanner/partial_parser.dart |
| diff --git a/dart/lib/compiler/implementation/scanner/partial_parser.dart b/dart/lib/compiler/implementation/scanner/partial_parser.dart |
| index 38c3dd8646778a9fd87062cb67d561fe7522de28..89fba5ad1ffd020b8c932e232b0638a4b37539e2 100644 |
| --- a/dart/lib/compiler/implementation/scanner/partial_parser.dart |
| +++ b/dart/lib/compiler/implementation/scanner/partial_parser.dart |
| @@ -11,6 +11,14 @@ class PartialParser extends Parser { |
| Token parseExpression(Token token) => skipExpression(token); |
| + Token parseArgumentsOpt(Token token) { |
|
ngeoffray
2012/08/21 06:28:31
Could you comment on why metadata needs you to add
ahe
2012/08/21 10:49:46
Done.
|
| + if (optional('(', token)) { |
| + return token.endGroup.next; |
| + } else { |
| + return token; |
| + } |
| + } |
| + |
| Token skipExpression(Token token) { |
| while (true) { |
| final kind = token.kind; |