diff options
author | Evan Shaw <chickencha@gmail.com> | 2010-04-15 18:06:22 -0700 |
---|---|---|
committer | Evan Shaw <chickencha@gmail.com> | 2010-04-15 18:06:22 -0700 |
commit | 06e5c101a49e4ccd8798126bae254341102485e4 (patch) | |
tree | 00106ed00b4bb227f92ad79b5a8c78c710848ae7 /src | |
parent | 1f7793123a089a8160f948568eedf603c8789829 (diff) | |
download | golang-06e5c101a49e4ccd8798126bae254341102485e4.tar.gz |
go/ast: Update comment to mention imaginary literals
R=gri
CC=golang-dev
http://codereview.appspot.com/846050
Committer: Robert Griesemer <gri@golang.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/pkg/go/ast/ast.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/go/ast/ast.go b/src/pkg/go/ast/ast.go index 34d20ed05..2fc8b215f 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` } |