diff options
author | Russ Cox <rsc@golang.org> | 2009-12-15 16:20:37 -0800 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2009-12-15 16:20:37 -0800 |
commit | 5eb6118de9fe44c41bea4058f96ca78b093ec4f9 (patch) | |
tree | 45ea3dc03bbf7e81487564757746e0e978bad02e /src | |
parent | 3743fa38e180c74c51aae84eda082067e8e12523 (diff) | |
download | golang-5eb6118de9fe44c41bea4058f96ca78b093ec4f9.tar.gz |
gc: allow ... in method lists
R=ken2
http://codereview.appspot.com/179070
Diffstat (limited to 'src')
-rw-r--r-- | src/cmd/gc/go.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/gc/go.y b/src/cmd/gc/go.y index a8b921db5..6d86a6a99 100644 --- a/src/cmd/gc/go.y +++ b/src/cmd/gc/go.y @@ -1285,7 +1285,7 @@ indcl: '(' oarg_type_list_ocomma ')' fnres { // without func keyword - $2 = checkarglist($2, 0); + $2 = checkarglist($2, 1); $$ = nod(OTFUNC, fakethis(), N); $$->list = $2; $$->rlist = $4; |