| Submitter | Ian Taylor |
|---|---|
| Date | Dec. 5, 2012, 1:09 a.m. |
| Message ID | <mcra9tts3rv.fsf@google.com> |
| Download | mbox | patch |
| Permalink | /patch/203748/ |
| State | New |
| Headers | show |
Comments
Patch
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(),