1
0
mirror of https://github.com/golang/go synced 2024-11-22 21:20:03 -07:00

add mention of tag string to grammar comment

R=rsc
DELTA=3  (2 added, 0 deleted, 1 changed)
OCL=18232
CL=18232
This commit is contained in:
Rob Pike 2008-10-31 09:59:29 -07:00
parent afad827255
commit 15fa1e4033

View File

@ -452,10 +452,12 @@ func init() {
functiontype
typename =
name '.' name
doublequotedstring =
string in " "; escapes are \0 (NUL) \n \t \" \\
fieldlist =
[ field { [ ',' | ';' ] field } ]
field =
identifier stubtype
identifier stubtype [ doublequotedstring ]
arraytype =
'[' [ number ] ']' stubtype
structtype =