Added another few missing builtin types and functions to the Go language.
This commit is contained in:
parent
5806661f47
commit
2a016e3890
1 changed files with 3 additions and 3 deletions
|
|
@ -12,10 +12,10 @@ define(function(require, exports, module) {
|
||||||
);
|
);
|
||||||
var builtinTypes = (
|
var builtinTypes = (
|
||||||
"string|uint8|uint16|uint32|uint64|int8|int16|int32|int64|float32|" +
|
"string|uint8|uint16|uint32|uint64|int8|int16|int32|int64|float32|" +
|
||||||
"float64|complex64|complex128|byte|rune|uint|int|uintptr|bool"
|
"float64|complex64|complex128|byte|rune|uint|int|uintptr|bool|error"
|
||||||
);
|
);
|
||||||
var builtinFunctions = (
|
var builtinFunctions = (
|
||||||
"make|close|new"
|
"make|close|new|panic|recover"
|
||||||
);
|
);
|
||||||
var builtinConstants = ("nil|true|false|iota");
|
var builtinConstants = ("nil|true|false|iota");
|
||||||
|
|
||||||
|
|
@ -108,4 +108,4 @@ define(function(require, exports, module) {
|
||||||
oop.inherits(GolangHighlightRules, TextHighlightRules);
|
oop.inherits(GolangHighlightRules, TextHighlightRules);
|
||||||
|
|
||||||
exports.GolangHighlightRules = GolangHighlightRules;
|
exports.GolangHighlightRules = GolangHighlightRules;
|
||||||
});
|
});
|
||||||
Loading…
Add table
Add a link
Reference in a new issue