Added another few missing builtin types and functions to the Go language.

This commit is contained in:
Zef Hemel 2013-09-13 16:14:05 +02:00
commit 2a016e3890

View file

@ -12,10 +12,10 @@ define(function(require, exports, module) {
);
var builtinTypes = (
"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 = (
"make|close|new"
"make|close|new|panic|recover"
);
var builtinConstants = ("nil|true|false|iota");
@ -108,4 +108,4 @@ define(function(require, exports, module) {
oop.inherits(GolangHighlightRules, TextHighlightRules);
exports.GolangHighlightRules = GolangHighlightRules;
});
});