aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2019-07-04 01:48:57 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2019-07-04 01:48:57 +0000
commit4c5f7762a93f77f3d33669537dd54f9a5de28ec4 (patch)
tree31d5094937748ec104e03ea457788b9e9b36ca34 /gcc
parentc93d9e4fa89d6c98e41940632c8466317861d2a7 (diff)
downloadgcc-4c5f7762a93f77f3d33669537dd54f9a5de28ec4.zip
gcc-4c5f7762a93f77f3d33669537dd54f9a5de28ec4.tar.gz
gcc-4c5f7762a93f77f3d33669537dd54f9a5de28ec4.tar.bz2
compiler: fix indentation of select statement AST dump
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/184997 From-SVN: r273032
Diffstat (limited to 'gcc')
-rw-r--r--gcc/go/gofrontend/MERGE2
-rw-r--r--gcc/go/gofrontend/statements.cc1
2 files changed, 2 insertions, 1 deletions
diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE
index 7ca79c8..9c5c13b 100644
--- a/gcc/go/gofrontend/MERGE
+++ b/gcc/go/gofrontend/MERGE
@@ -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.
diff --git a/gcc/go/gofrontend/statements.cc b/gcc/go/gofrontend/statements.cc
index 968c8a0..332d63f 100644
--- a/gcc/go/gofrontend/statements.cc
+++ b/gcc/go/gofrontend/statements.cc
@@ -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;