diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2019-03-21 16:22:56 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2019-03-21 16:22:56 +0000 |
commit | cae1a424cdc285e8d75d4362476e2482841a19fd (patch) | |
tree | 19346d161d4b1a7fdcf0a20e340b465cdbdb52e0 | |
parent | 6d1a7fd4507f94d5ba1ac3216330280a4751a599 (diff) | |
download | gcc-cae1a424cdc285e8d75d4362476e2482841a19fd.zip gcc-cae1a424cdc285e8d75d4362476e2482841a19fd.tar.gz gcc-cae1a424cdc285e8d75d4362476e2482841a19fd.tar.bz2 |
compiler: add a newline to function receiver type's debug dump
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/168408
From-SVN: r269841
-rw-r--r-- | gcc/go/gofrontend/MERGE | 2 | ||||
-rw-r--r-- | 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) |