From cae1a424cdc285e8d75d4362476e2482841a19fd Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 21 Mar 2019 16:22:56 +0000 Subject: [PATCH] compiler: add a newline to function receiver type's debug dump Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/168408 From-SVN: r269841 --- gcc/go/gofrontend/MERGE | 2 +- gcc/go/gofrontend/ast-dump.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE index 4a9853a..6484441 100644 --- a/gcc/go/gofrontend/MERGE +++ b/gcc/go/gofrontend/MERGE @@ -1,4 +1,4 @@ -6e5ff227d4e77d340e86bd2c5e045d5532c2d7d7 +392e9b3da473070f24dbe6c12c282a0e06e73b54 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/ast-dump.cc b/gcc/go/gofrontend/ast-dump.cc index 48e0065..94066ca 100644 --- a/gcc/go/gofrontend/ast-dump.cc +++ b/gcc/go/gofrontend/ast-dump.cc @@ -766,7 +766,7 @@ void Type_dumper::visit_function_type(const Function_type* ft) if (rec != NULL) { this->emitpre(notag, NULL); - this->typeref("receiver ", rec->type(), NULL); + this->typeref("receiver ", rec->type(), "\n"); } const Typed_identifier_list* parameters = ft->parameters(); if (parameters != NULL) -- 2.7.4