diff options
author | Kornelius Kalnbach <murphy@rubychan.de> | 2013-07-21 16:43:19 +0200 |
---|---|---|
committer | Kornelius Kalnbach <murphy@rubychan.de> | 2013-07-21 16:43:19 +0200 |
commit | ea107396fdd72cdbbaf4820d09a87bd879ba7e6c (patch) | |
tree | dbba0af92a52e6733dbd300da285a875ee7e94d4 /lib/coderay/token_kinds.rb | |
parent | 59ca07b0d1a1710ab729636ea00de4b638f56110 (diff) | |
download | coderay-ea107396fdd72cdbbaf4820d09a87bd879ba7e6c.tar.gz |
check token kinds in Lint encoders
Diffstat (limited to 'lib/coderay/token_kinds.rb')
-rwxr-xr-x | lib/coderay/token_kinds.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/coderay/token_kinds.rb b/lib/coderay/token_kinds.rb index 9137a49..5f49d77 100755 --- a/lib/coderay/token_kinds.rb +++ b/lib/coderay/token_kinds.rb @@ -1,10 +1,7 @@ module CodeRay # A Hash of all known token kinds and their associated CSS classes. - TokenKinds = Hash.new do |h, k| - warn 'Undefined Token kind: %p' % [k] if $CODERAY_DEBUG - false - end + TokenKinds = Hash.new(false) # speedup TokenKinds.compare_by_identity if TokenKinds.respond_to? :compare_by_identity |