From: Rob Pike Date: Fri, 31 Oct 2008 16:59:29 +0000 (-0700) Subject: add mention of tag string to grammar comment X-Git-Tag: weekly.2009-11-06~2837 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=15fa1e403337cb85d9a1c66c2c07a9821d066514;p=gostls13.git add mention of tag string to grammar comment R=rsc DELTA=3 (2 added, 0 deleted, 1 changed) OCL=18232 CL=18232 --- diff --git a/src/lib/reflect/type.go b/src/lib/reflect/type.go index 06fab4be55..0d73944bb1 100644 --- a/src/lib/reflect/type.go +++ b/src/lib/reflect/type.go @@ -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 =