From 9714c8aab406926fc78c71378bf8b6a69d3a262a Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 17 Feb 2012 23:36:58 +0000 Subject: [PATCH] compiler: Permit (_) on left hand side of =. From-SVN: r184356 --- gcc/go/gofrontend/parse.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/go/gofrontend/parse.cc b/gcc/go/gofrontend/parse.cc index 6eb1981a4be..df28d2baf4b 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 -- 2.30.2