diff options
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` } |