From 9eba0c7decb383e3ef73a3fee375e725442cde56 Mon Sep 17 00:00:00 2001 From: murphy Date: Mon, 19 Oct 2009 17:34:39 +0000 Subject: Updating scanners: Ruby 1.9 warnings, KINDS_NOT_LOC * Also, DATABASE is a SQL keyword. --- lib/coderay/scanners/yaml.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/coderay/scanners/yaml.rb') diff --git a/lib/coderay/scanners/yaml.rb b/lib/coderay/scanners/yaml.rb index 932e604..52fca90 100644 --- a/lib/coderay/scanners/yaml.rb +++ b/lib/coderay/scanners/yaml.rb @@ -9,6 +9,8 @@ module Scanners register_for :yaml file_extension 'yml' + KINDS_NOT_LOC = :all + def scan_tokens tokens, options value_expected = nil -- cgit v1.2.1