1
0
mirror of https://github.com/golang/go synced 2024-10-04 09:21:21 -06:00

DOTDOTDOT import/export

R=r
OCL=18319
CL=18319
This commit is contained in:
Ken Thompson 2008-11-01 16:52:12 -07:00
parent 59f029cbf2
commit 2fef4c7198
2 changed files with 5 additions and 0 deletions

View File

@ -1871,6 +1871,10 @@ hidden_type1:
$$->type = $3; $$->type = $3;
$$->chan = Csend; $$->chan = Csend;
} }
| LDDD
{
$$ = typ(TDDD);
}
hidden_type2: hidden_type2:
LCHAN hidden_type LCHAN hidden_type

View File

@ -968,6 +968,7 @@ basicnames[] =
[TFLOAT80] = "float80", [TFLOAT80] = "float80",
[TBOOL] = "bool", [TBOOL] = "bool",
[TANY] = "any", [TANY] = "any",
[TDDD] = "...",
}; };
int int