diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2014-07-20 20:26:20 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2014-07-20 20:26:20 +0000 |
commit | f67341b6248741fa1d7ccc508c2692988b42c576 (patch) | |
tree | 302a17320441e38d6b754f21bab780a10e16086e /gcc/go/gofrontend/parse.h | |
parent | dbb400d7076fb71c447a342f561aecbf57dd87ad (diff) | |
download | gcc-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.h | 2 |
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); |