projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f21f477
)
compiler: Permit (_) on left hand side of =.
author
Ian Lance Taylor
<ian@gcc.gnu.org>
Fri, 17 Feb 2012 23:36:58 +0000
(23:36 +0000)
committer
Ian Lance Taylor
<ian@gcc.gnu.org>
Fri, 17 Feb 2012 23:36:58 +0000
(23:36 +0000)
From-SVN: r184356
gcc/go/gofrontend/parse.cc
patch
|
blob
|
history
diff --git
a/gcc/go/gofrontend/parse.cc
b/gcc/go/gofrontend/parse.cc
index 6eb1981a4be916862a899183a87aec6f634f4dd4..df28d2baf4b84522bb23cc547e7417ee1830cef1 100644
(file)
--- 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