summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Youngman <git@nathany.com>2013-06-23 12:46:15 -0600
committerNathan Youngman <git@nathany.com>2013-06-23 12:46:15 -0600
commitdd9ec43a3ea4cfce8eb1e8dd38504a9d8f24df54 (patch)
tree12c894a01705d642b9c3154b7c977fb45b422f97
parent4c877bf0eb655cf2c04a0efb24b4e5f83b97e160 (diff)
downloadcoderay-dd9ec43a3ea4cfce8eb1e8dd38504a9d8f24df54.tar.gz
yup, no C-style directives (auto extern static)
-rw-r--r--lib/coderay/scanners/go.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/coderay/scanners/go.rb b/lib/coderay/scanners/go.rb
index ae50aa4..eb06fb0 100644
--- a/lib/coderay/scanners/go.rb
+++ b/lib/coderay/scanners/go.rb
@@ -37,14 +37,9 @@ module Scanners
make new panic print println real recover
] # :nodoc:
- DIRECTIVES = [
- 'go_no_directive', # Seems no directive concept in Go?
- ] # :nodoc:
-
IDENT_KIND = WordList.new(:ident).
add(KEYWORDS, :keyword).
add(PREDEFINED_TYPES, :predefined_type).
- add(DIRECTIVES, :directive).
add(PREDEFINED_CONSTANTS, :predefined_constant).
add(PREDEFINED_FUNCTIONS, :predefined) # :nodoc: