summaryrefslogtreecommitdiff
path: root/lib/coderay/scanners/json5.rb
diff options
context:
space:
mode:
authorKornelius Kalnbach <murphy@rubychan.de>2016-02-13 10:31:05 +0100
committerKornelius Kalnbach <murphy@rubychan.de>2016-02-13 10:31:05 +0100
commit42e2ca35e1e76699c5cbe8b35ffe8964a67c40fc (patch)
tree5667707d6a33ee362d4d9bb486f0302b9b10a120 /lib/coderay/scanners/json5.rb
parentdd1d7791d818152506f48a6d429d882e4bda2087 (diff)
downloadcoderay-42e2ca35e1e76699c5cbe8b35ffe8964a67c40fc.tar.gz
cleanup
Diffstat (limited to 'lib/coderay/scanners/json5.rb')
-rw-r--r--lib/coderay/scanners/json5.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/coderay/scanners/json5.rb b/lib/coderay/scanners/json5.rb
index 2933483..2b2dbdd 100644
--- a/lib/coderay/scanners/json5.rb
+++ b/lib/coderay/scanners/json5.rb
@@ -44,7 +44,7 @@ module Scanners
protected
scan_tokens_code = <<-"RUBY"
- def scan_tokens encoder, options
+ def scan_tokens encoder, options#{ def_line = __LINE__; nil }
state = options[:state] || @state
if [:string, :key].include? state