Merge pull request #1597 from ajaxorg/golang-bool
Golang: Added 'bool' type and 'select' keyword
This commit is contained in:
commit
98d149f0b8
1 changed files with 2 additions and 2 deletions
|
|
@ -5,14 +5,14 @@ define(function(require, exports, module) {
|
|||
|
||||
var GolangHighlightRules = function() {
|
||||
var keywords = (
|
||||
"else|break|case|return|goto|if|const|" +
|
||||
"else|break|case|return|goto|if|const|select|" +
|
||||
"continue|struct|default|switch|for|range|" +
|
||||
"func|import|package|chan|defer|fallthrough|go|interface|map|range" +
|
||||
"select|type|var"
|
||||
);
|
||||
var builtinTypes = (
|
||||
"string|uint8|uint16|uint32|uint64|int8|int16|int32|int64|float32|" +
|
||||
"float64|complex64|complex128|byte|rune|uint|int|uintptr"
|
||||
"float64|complex64|complex128|byte|rune|uint|int|uintptr|bool"
|
||||
);
|
||||
var builtinFunctions = (
|
||||
"make|close|new"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue