From 0d1c78656fbcdda8c5f729950d46d8ea855eeca7 Mon Sep 17 00:00:00 2001 From: Kornelius Kalnbach Date: Sat, 13 Feb 2016 10:25:20 +0100 Subject: move comment to the top --- lib/coderay/scanners/json5.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/coderay/scanners/json5.rb') diff --git a/lib/coderay/scanners/json5.rb b/lib/coderay/scanners/json5.rb index c68ebb7..f7f6eac 100644 --- a/lib/coderay/scanners/json5.rb +++ b/lib/coderay/scanners/json5.rb @@ -2,6 +2,8 @@ module CodeRay module Scanners # Scanner for JSON (JavaScript Object Notation). + # + # See http://json.org/ for a definition of the JSON lexic/grammar. class JSON5 < RuleBasedScanner register_for :json5 @@ -45,7 +47,6 @@ module Scanners @state = :initial end - # See http://json.org/ for a definition of the JSON lexic/grammar. scan_tokens_code = <<-"RUBY" def scan_tokens encoder, options state = options[:state] || @state -- cgit v1.2.1