Message ID | mcra9tts3rv.fsf@google.com |
---|---|
State | New |
Headers | show |
diff -r 76d51e7d9209 go/parse.cc --- a/go/parse.cc Tue Dec 04 16:52:53 2012 -0800 +++ b/go/parse.cc Tue Dec 04 17:04:39 2012 -0800 @@ -2979,6 +2979,8 @@ this->advance_token(); Expression* expr = this->expression(PRECEDENCE_NORMAL, false, true, NULL); + if (this->peek_token()->is_op(OPERATOR_COMMA)) + this->advance_token(); if (this->peek_token()->is_op(OPERATOR_ELLIPSIS)) { error_at(this->location(),