From 117614a257dddb5398a1d7d15bcde71706f25f1e Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Mon, 28 Mar 2011 22:49:09 +0000 Subject: Better error message for old syntax of send expression as value. From-SVN: r171637 --- gcc/go/gofrontend/parse.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/go/gofrontend/parse.h') diff --git a/gcc/go/gofrontend/parse.h b/gcc/go/gofrontend/parse.h index a9f6455..f072fd3 100644 --- a/gcc/go/gofrontend/parse.h +++ b/gcc/go/gofrontend/parse.h @@ -223,7 +223,7 @@ class Parse void statement(Label*); bool statement_may_start_here(); void labeled_stmt(const std::string&, source_location); - Expression* simple_stat(bool, bool, Range_clause*, Type_switch*); + Expression* simple_stat(bool, bool*, Range_clause*, Type_switch*); bool simple_stat_may_start_here(); void statement_list(); bool statement_list_may_start_here(); -- cgit v1.1