aboutsummaryrefslogtreecommitdiff
path: root/gcc/go/gofrontend/parse.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2014-10-16 19:28:51 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2014-10-16 19:28:51 +0000
commitada24741761fd8b041c75634829acf1525b8d597 (patch)
tree5892f9f195d7f6a61ac0decb83a70534a65387bd /gcc/go/gofrontend/parse.h
parentf6e31dffc122fc91ca33a9b43ab8b5051585b979 (diff)
downloadgcc-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.h2
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();