aboutsummaryrefslogtreecommitdiff
path: root/gcc/go/gofrontend/parse.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2014-07-20 20:26:20 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2014-07-20 20:26:20 +0000
commitf67341b6248741fa1d7ccc508c2692988b42c576 (patch)
tree302a17320441e38d6b754f21bab780a10e16086e /gcc/go/gofrontend/parse.h
parentdbb400d7076fb71c447a342f561aecbf57dd87ad (diff)
downloadgcc-f67341b6248741fa1d7ccc508c2692988b42c576.zip
gcc-f67341b6248741fa1d7ccc508c2692988b42c576.tar.gz
gcc-f67341b6248741fa1d7ccc508c2692988b42c576.tar.bz2
compiler: If a variable that is only set, give not used error.
From-SVN: r212876
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 99e0eee..3a7bbd5 100644
--- a/gcc/go/gofrontend/parse.h
+++ b/gcc/go/gofrontend/parse.h
@@ -236,7 +236,7 @@ class Parse
bool* is_type_switch, bool* is_parenthesized);
Type* reassociate_chan_direction(Channel_type*, Location);
Expression* qualified_expr(Expression*, Location);
- Expression* id_to_expression(const std::string&, Location);
+ Expression* id_to_expression(const std::string&, Location, bool);
void statement(Label*);
bool statement_may_start_here();
void labeled_stmt(const std::string&, Location);