diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2014-10-16 19:28:51 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2014-10-16 19:28:51 +0000 |
commit | ada24741761fd8b041c75634829acf1525b8d597 (patch) | |
tree | 5892f9f195d7f6a61ac0decb83a70534a65387bd /gcc/go/gofrontend/parse.h | |
parent | f6e31dffc122fc91ca33a9b43ab8b5051585b979 (diff) | |
download | gcc-ada24741761fd8b041c75634829acf1525b8d597.zip gcc-ada24741761fd8b041c75634829acf1525b8d597.tar.gz gcc-ada24741761fd8b041c75634829acf1525b8d597.tar.bz2 |
compiler: Don't record interface types with blank type names.
Fixes issue 8079.
From-SVN: r216343
Diffstat (limited to 'gcc/go/gofrontend/parse.h')
-rw-r--r-- | gcc/go/gofrontend/parse.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/go/gofrontend/parse.h b/gcc/go/gofrontend/parse.h index 86698a1..3749645 100644 --- a/gcc/go/gofrontend/parse.h +++ b/gcc/go/gofrontend/parse.h @@ -182,7 +182,7 @@ class Parse void parameter_decl(bool, Typed_identifier_list*, bool*, bool*, bool*); bool result(Typed_identifier_list**); Location block(); - Type* interface_type(); + Type* interface_type(bool record); void method_spec(Typed_identifier_list*); void declaration(); bool declaration_may_start_here(); |