From: Evan Shaw Date: Fri, 16 Apr 2010 01:06:22 +0000 (-0700) Subject: go/ast: Update comment to mention imaginary literals X-Git-Tag: weekly.2010-04-27~83 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=ff922fe15a72c564747889b6d08670b9c9b84041;p=gostls13.git go/ast: Update comment to mention imaginary literals R=gri CC=golang-dev https://golang.org/cl/846050 --- diff --git a/src/pkg/go/ast/ast.go b/src/pkg/go/ast/ast.go index 34d20ed059..2fc8b215fd 100644 --- a/src/pkg/go/ast/ast.go +++ b/src/pkg/go/ast/ast.go @@ -155,7 +155,7 @@ type ( // A BasicLit node represents a literal of basic type. BasicLit struct { token.Position // literal position - Kind token.Token // token.INT, token.FLOAT, token.CHAR, or token.STRING + Kind token.Token // token.INT, token.FLOAT, token.IMAG, token.CHAR, or token.STRING Value []byte // literal string; e.g. 42, 0x7f, 3.14, 1e-9, 'a', '\x7f', "foo" or `\m\n\o` }