From d4157849c94e274569eff099ff97e51b440219a3 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 24 Jan 2012 17:22:40 +0000 Subject: compiler: Better handling of erroneous function signatures. From-SVN: r183479 --- gcc/go/gofrontend/parse.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gcc/go/gofrontend/parse.h') 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. -- cgit v1.1