| Index: src/prettyprinter.cc
|
| diff --git a/src/prettyprinter.cc b/src/prettyprinter.cc
|
| index 0149ed51e29b40c47586c744628a147755a05234..faba43ba36893191d75ad47edb1acd6aa8b05ab2 100644
|
| --- a/src/prettyprinter.cc
|
| +++ b/src/prettyprinter.cc
|
| @@ -130,8 +130,8 @@ void PrettyPrinter::VisitWithEnterStatement(WithEnterStatement* node) {
|
| }
|
|
|
|
|
| -void PrettyPrinter::VisitWithExitStatement(WithExitStatement* node) {
|
| - Print("<exit with>");
|
| +void PrettyPrinter::VisitContextExitStatement(ContextExitStatement* node) {
|
| + Print("<exit context>");
|
| }
|
|
|
|
|
| @@ -802,8 +802,8 @@ void AstPrinter::VisitWithEnterStatement(WithEnterStatement* node) {
|
| }
|
|
|
|
|
| -void AstPrinter::VisitWithExitStatement(WithExitStatement* node) {
|
| - PrintIndented("WITH EXIT\n");
|
| +void AstPrinter::VisitContextExitStatement(ContextExitStatement* node) {
|
| + PrintIndented("CONTEXT EXIT\n");
|
| }
|
|
|
|
|
| @@ -1197,8 +1197,8 @@ void JsonAstBuilder::VisitWithEnterStatement(WithEnterStatement* stmt) {
|
| }
|
|
|
|
|
| -void JsonAstBuilder::VisitWithExitStatement(WithExitStatement* stmt) {
|
| - TagScope tag(this, "WithExitStatement");
|
| +void JsonAstBuilder::VisitContextExitStatement(ContextExitStatement* stmt) {
|
| + TagScope tag(this, "ContextExitStatement");
|
| }
|
|
|
|
|
|
|