summaryrefslogtreecommitdiff
path: root/lib/coderay/scanners/json4.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/coderay/scanners/json4.rb')
-rw-r--r--lib/coderay/scanners/json4.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/coderay/scanners/json4.rb b/lib/coderay/scanners/json4.rb
index 5cb3afb..38d71e3 100644
--- a/lib/coderay/scanners/json4.rb
+++ b/lib/coderay/scanners/json4.rb
@@ -1,7 +1,7 @@
module CodeRay
module Scanners
- class RuleBasedScanner4 < Scanner
+ class JSON4RuleBasedScanner < Scanner
class << self
attr_accessor :states
@@ -56,7 +56,7 @@ module Scanners
end
# Scanner for JSON (JavaScript Object Notation).
- class JSON4 < RuleBasedScanner4
+ class JSON4 < JSON4RuleBasedScanner
register_for :json4
file_extension 'json'