From: Ian Lance Taylor Date: Thu, 21 Mar 2019 16:22:56 +0000 (+0000) Subject: compiler: add a newline to function receiver type's debug dump X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cae1a424cdc285e8d75d4362476e2482841a19fd;p=gcc.git compiler: add a newline to function receiver type's debug dump Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/168408 From-SVN: r269841 --- diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE index 4a9853ab68c..64844411c8c 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 48e0065ba19..94066cab8c3 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)