diff options
author | Kornelius Kalnbach <murphy@rubychan.de> | 2013-07-20 18:12:04 +0200 |
---|---|---|
committer | Kornelius Kalnbach <murphy@rubychan.de> | 2013-07-20 18:12:04 +0200 |
commit | 5c23a731ca55729fc65630eca3b37a5b1a71e5b1 (patch) | |
tree | 97045ac6fa9544a1e0f168b9a02c7b53b0c4e452 /lib/coderay/scanners/diff.rb | |
parent | 59ca07b0d1a1710ab729636ea00de4b638f56110 (diff) | |
download | coderay-5c23a731ca55729fc65630eca3b37a5b1a71e5b1.tar.gz |
mark possibly problematic spots with FIXME
Diffstat (limited to 'lib/coderay/scanners/diff.rb')
-rw-r--r-- | lib/coderay/scanners/diff.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/coderay/scanners/diff.rb b/lib/coderay/scanners/diff.rb index fd1aed6..836fa41 100644 --- a/lib/coderay/scanners/diff.rb +++ b/lib/coderay/scanners/diff.rb @@ -21,6 +21,7 @@ module Scanners line_kind = nil state = :initial deleted_lines_count = 0 + # FIXME: cache attack scanners = Hash.new do |h, lang| h[lang] = Scanners[lang].new '', :keep_tokens => true, :keep_state => true end |