@@ -38,7 +38,7 @@ func goRules() Rules {
38
38
{Words (`` , `\b` , `break` , `default` , `select` , `case` , `defer` , `go` , `else` , `goto` , `switch` , `fallthrough` , `if` , `range` , `continue` , `for` , `return` ), Keyword , nil },
39
39
{`(true|false|iota|nil)\b` , KeywordConstant , nil },
40
40
{Words (`` , `\b(\()` , `uint` , `uint8` , `uint16` , `uint32` , `uint64` , `int` , `int8` , `int16` , `int32` , `int64` , `float` , `float32` , `float64` , `complex64` , `complex128` , `byte` , `rune` , `string` , `bool` , `error` , `uintptr` , `print` , `println` , `panic` , `recover` , `close` , `complex` , `real` , `imag` , `len` , `cap` , `append` , `copy` , `delete` , `new` , `make` , `clear` , `min` , `max` ), ByGroups (NameBuiltin , Punctuation ), nil },
41
- {Words (`` , `\b` , `uint` , `uint8` , `uint16` , `uint32` , `uint64` , `int` , `int8` , `int16` , `int32` , `int64` , `float` , `float32` , `float64` , `complex64` , `complex128` , `byte` , `rune` , `string` , `bool` , `error` , `uintptr` ), KeywordType , nil },
41
+ {Words (`` , `\b` , `uint` , `uint8` , `uint16` , `uint32` , `uint64` , `int` , `int8` , `int16` , `int32` , `int64` , `float` , `float32` , `float64` , `complex64` , `complex128` , `byte` , `rune` , `string` , `bool` , `error` , `uintptr` , `any` ), KeywordType , nil },
42
42
{`\d+i` , LiteralNumber , nil },
43
43
{`\d+\.\d*([Ee][-+]\d+)?i` , LiteralNumber , nil },
44
44
{`\.\d+([Ee][-+]\d+)?i` , LiteralNumber , nil },
0 commit comments