diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2012-02-17 23:36:58 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2012-02-17 23:36:58 +0000 |
commit | 9714c8aab406926fc78c71378bf8b6a69d3a262a (patch) | |
tree | 73a97ebe1f1119cfa933277b6d0700eb1e3cb765 /gcc/go | |
parent | f21f4773f38db001b434d6e26daba5b9f7cf2e75 (diff) | |
download | gcc-9714c8aab406926fc78c71378bf8b6a69d3a262a.zip gcc-9714c8aab406926fc78c71378bf8b6a69d3a262a.tar.gz gcc-9714c8aab406926fc78c71378bf8b6a69d3a262a.tar.bz2 |
compiler: Permit (_) on left hand side of =.
From-SVN: r184356
Diffstat (limited to 'gcc/go')
-rw-r--r-- | gcc/go/gofrontend/parse.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/go/gofrontend/parse.cc b/gcc/go/gofrontend/parse.cc index 6eb1981..df28d2b 100644 --- a/gcc/go/gofrontend/parse.cc +++ b/gcc/go/gofrontend/parse.cc @@ -2491,7 +2491,7 @@ Parse::operand(bool may_be_sink) if (token->is_op(OPERATOR_LPAREN)) { this->advance_token(); - ret = this->expression(PRECEDENCE_NORMAL, false, true, NULL); + ret = this->expression(PRECEDENCE_NORMAL, may_be_sink, true, NULL); if (!this->peek_token()->is_op(OPERATOR_RPAREN)) error_at(this->location(), "missing %<)%>"); else |