summaryrefslogtreecommitdiff
path: root/lib/coderay/token_kinds.rb
diff options
context:
space:
mode:
authorKornelius Kalnbach <murphy@rubychan.de>2013-07-21 20:14:21 +0200
committerKornelius Kalnbach <murphy@rubychan.de>2013-07-21 20:14:21 +0200
commit5d6bee7f5caced1383e6aac427fb356a4788794b (patch)
tree1bfa3fb3f2ed69bcdef635eea1b2d5fa84b5aaa2 /lib/coderay/token_kinds.rb
parent2ab42c7b5e674453fac0320fe0c4a40daf6197e1 (diff)
downloadcoderay-5d6bee7f5caced1383e6aac427fb356a4788794b.tar.gz
tweak Debug scanners again, introduce :unknown token kind
Diffstat (limited to 'lib/coderay/token_kinds.rb')
-rwxr-xr-xlib/coderay/token_kinds.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/coderay/token_kinds.rb b/lib/coderay/token_kinds.rb
index 5f49d77..f911862 100755
--- a/lib/coderay/token_kinds.rb
+++ b/lib/coderay/token_kinds.rb
@@ -80,5 +80,6 @@ module CodeRay
:plain => false # almost all scanners
)
- TokenKinds[:method] = TokenKinds[:function]
+ TokenKinds[:method] = TokenKinds[:function]
+ TokenKinds[:unknown] = TokenKinds[:plain]
end