Commit 4c5f7762 by Ian Lance Taylor

compiler: fix indentation of select statement AST dump

    
    Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/184997

From-SVN: r273032
parent c93d9e4f
bf66d40bc7adb438dcfac85d73bfa7b17217eed9 197b6fdfb861f07bab7365e350b5b855cfccc290
The first line of this file holds the git revision number of the last The first line of this file holds the git revision number of the last
merge done from the gofrontend repository. merge done from the gofrontend repository.
...@@ -5766,6 +5766,7 @@ Select_statement::do_dump_statement(Ast_dump_context* ast_dump_context) const ...@@ -5766,6 +5766,7 @@ Select_statement::do_dump_statement(Ast_dump_context* ast_dump_context) const
{ {
ast_dump_context->ostream() << " {" << dsuffix(location()) << std::endl; ast_dump_context->ostream() << " {" << dsuffix(location()) << std::endl;
this->clauses_->dump_clauses(ast_dump_context); this->clauses_->dump_clauses(ast_dump_context);
ast_dump_context->print_indent();
ast_dump_context->ostream() << "}"; ast_dump_context->ostream() << "}";
} }
ast_dump_context->ostream() << std::endl; ast_dump_context->ostream() << std::endl;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment