From 15fa1e403337cb85d9a1c66c2c07a9821d066514 Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Fri, 31 Oct 2008 09:59:29 -0700 Subject: [PATCH] add mention of tag string to grammar comment R=rsc DELTA=3 (2 added, 0 deleted, 1 changed) OCL=18232 CL=18232 --- src/lib/reflect/type.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib/reflect/type.go b/src/lib/reflect/type.go index 06fab4be55d..0d73944bb1f 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 =