Skip to content

Commit dd9ec43

Browse files
committed
yup, no C-style directives (auto extern static)
1 parent 4c877bf commit dd9ec43

File tree

1 file changed

+0
-5
lines changed
  • lib/coderay/scanners

1 file changed

+0
-5
lines changed

lib/coderay/scanners/go.rb

-5
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,9 @@ class Go < Scanner
3737
make new panic print println real recover
3838
] # :nodoc:
3939

40-
DIRECTIVES = [
41-
'go_no_directive', # Seems no directive concept in Go?
42-
] # :nodoc:
43-
4440
IDENT_KIND = WordList.new(:ident).
4541
add(KEYWORDS, :keyword).
4642
add(PREDEFINED_TYPES, :predefined_type).
47-
add(DIRECTIVES, :directive).
4843
add(PREDEFINED_CONSTANTS, :predefined_constant).
4944
add(PREDEFINED_FUNCTIONS, :predefined) # :nodoc:
5045

0 commit comments

Comments
 (0)