mirror of
https://github.com/golang/go
synced 2024-11-23 02:10:03 -07:00
len now takes an expression
R=r DELTA=1 (0 added, 0 deleted, 1 changed) OCL=13523 CL=13523
This commit is contained in:
parent
d302244c6c
commit
b2d9020242
@ -720,7 +720,7 @@ pexpr:
|
|||||||
{
|
{
|
||||||
$$ = nod(OCALL, $1, $3);
|
$$ = nod(OCALL, $1, $3);
|
||||||
}
|
}
|
||||||
| LLEN '(' name ')'
|
| LLEN '(' expr ')'
|
||||||
{
|
{
|
||||||
$$ = nod(OLEN, $3, N);
|
$$ = nod(OLEN, $3, N);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user