aboutsummaryrefslogtreecommitdiff
path: root/gcc/go/gofrontend/parse.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2012-01-24 17:22:40 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2012-01-24 17:22:40 +0000
commitd4157849c94e274569eff099ff97e51b440219a3 (patch)
treed181726a4306d3ebca54c7ffef309e37c31621ca /gcc/go/gofrontend/parse.h
parent00a42fb364bba1a8cea3e36c15969d7fbc10a1fe (diff)
downloadgcc-d4157849c94e274569eff099ff97e51b440219a3.zip
gcc-d4157849c94e274569eff099ff97e51b440219a3.tar.gz
gcc-d4157849c94e274569eff099ff97e51b440219a3.tar.bz2
compiler: Better handling of erroneous function signatures.
From-SVN: r183479
Diffstat (limited to 'gcc/go/gofrontend/parse.h')
-rw-r--r--gcc/go/gofrontend/parse.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/go/gofrontend/parse.h b/gcc/go/gofrontend/parse.h
index f45aa85..a838e4b 100644
--- a/gcc/go/gofrontend/parse.h
+++ b/gcc/go/gofrontend/parse.h
@@ -305,6 +305,8 @@ class Parse
Token unget_token_;
// Whether unget_token_ is valid.
bool unget_token_valid_;
+ // Whether the function we are parsing had errors in the signature.
+ bool is_erroneous_function_;
// The code we are generating.
Gogo* gogo_;
// A stack of statements for which break may be used.