Commit 9714c8aa by Ian Lance Taylor

compiler: Permit (_) on left hand side of =.

From-SVN: r184356
parent f21f4773
...@@ -2491,7 +2491,7 @@ Parse::operand(bool may_be_sink) ...@@ -2491,7 +2491,7 @@ Parse::operand(bool may_be_sink)
if (token->is_op(OPERATOR_LPAREN)) if (token->is_op(OPERATOR_LPAREN))
{ {
this->advance_token(); 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)) if (!this->peek_token()->is_op(OPERATOR_RPAREN))
error_at(this->location(), "missing %<)%>"); error_at(this->location(), "missing %<)%>");
else else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment