Commit ff922fe1 authored by Evan Shaw's avatar Evan Shaw Committed by Robert Griesemer

go/ast: Update comment to mention imaginary literals

R=gri
CC=golang-dev
https://golang.org/cl/846050
parent 39a2e82e
......@@ -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`
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment