summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Youngman <git@nathany.com>2013-06-23 09:43:54 -0600
committerNathan Youngman <git@nathany.com>2013-06-23 09:43:54 -0600
commitfd8c81f5c338e4f1448007c9100d15d912fadd27 (patch)
tree79a35068e1620dfb2cf793fd32522441a15845ce
parent0013b649f714f23eef0859921fa7804ca7caef76 (diff)
downloadcoderay-fd8c81f5c338e4f1448007c9100d15d912fadd27.tar.gz
additional types: string, error
http://golang.org/ref/spec#Predeclared_identifiers
-rw-r--r--lib/coderay/scanners/go.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/coderay/scanners/go.rb b/lib/coderay/scanners/go.rb
index 4431ef2..a66a5e3 100644
--- a/lib/coderay/scanners/go.rb
+++ b/lib/coderay/scanners/go.rb
@@ -23,7 +23,7 @@ module Scanners
'int8', 'int16', 'int32', 'int64',
'float32', 'float64',
'complex64', 'complex128',
- 'byte', 'rune',
+ 'byte', 'rune', 'string', 'error',
'uint', 'int', 'uintptr',
] # :nodoc: