| Index: dart/lib/compiler/implementation/scanner/listener.dart
|
| diff --git a/dart/lib/compiler/implementation/scanner/listener.dart b/dart/lib/compiler/implementation/scanner/listener.dart
|
| index 83993715add42fc862dd9989e195d8e8ccf44f8c..b2514370e8904ffc6a3a2b5e5da39dfb8c156939 100644
|
| --- a/dart/lib/compiler/implementation/scanner/listener.dart
|
| +++ b/dart/lib/compiler/implementation/scanner/listener.dart
|
| @@ -666,18 +666,17 @@ class ElementListener extends Listener {
|
| }
|
| }
|
|
|
| - void endHide(Token hideKeyword) {
|
| - recoverableError('hide is not implemented', token: hideKeyword);
|
| - // TODO(ahe): Do not ignore.
|
| - }
|
| + void endHide(Token hideKeyword) => pushCombinator(hideKeyword);
|
|
|
| - void endShow(Token showKeyword) {
|
| - recoverableError('show is not implemented', token: showKeyword);
|
| - // TODO(ahe): Do not ignore.
|
| + void endShow(Token showKeyword) => pushCombinator(showKeyword);
|
| +
|
| + void pushCombinator(Token keywordToken) {
|
| + NodeList identifiers = popNode();
|
| + pushNode(new Combinator(identifiers, keywordToken));
|
| }
|
|
|
| void endIdentifierList(int count) {
|
| - pushNode(makeNodeList(count, null, null, " "));
|
| + pushNode(makeNodeList(count, null, null, ","));
|
| }
|
|
|
| void endPart(Token partKeyword, Token semicolon) {
|
|
|