compiler: fix indentation of select statement AST dump
authorIan Lance Taylor <ian@gcc.gnu.org>
Thu, 4 Jul 2019 01:48:57 +0000 (01:48 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Thu, 4 Jul 2019 01:48:57 +0000 (01:48 +0000)
    Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/184997

From-SVN: r273032

gcc/go/gofrontend/MERGE
gcc/go/gofrontend/statements.cc

index 7ca79c82b7624b0f89c54e5f48a11a74f4499f88..9c5c13bd133172d2048dd665ccbb0f80f556f691 100644 (file)
@@ -1,4 +1,4 @@
-bf66d40bc7adb438dcfac85d73bfa7b17217eed9
+197b6fdfb861f07bab7365e350b5b855cfccc290
 
 The first line of this file holds the git revision number of the last
 merge done from the gofrontend repository.
index 968c8a01b5787a1726b6779696047f0052896a07..332d63f377edae33c4c4e6ecb31dc9e418594311 100644 (file)
@@ -5766,6 +5766,7 @@ Select_statement::do_dump_statement(Ast_dump_context* ast_dump_context) const
     {
       ast_dump_context->ostream() << " {" << dsuffix(location()) << std::endl;
       this->clauses_->dump_clauses(ast_dump_context);
+      ast_dump_context->print_indent();
       ast_dump_context->ostream() << "}";
     }
   ast_dump_context->ostream() << std::endl;