summaryrefslogtreecommitdiff
path: root/lib/coderay/scanners/html.rb
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2006-04-16 00:42:38 +0000
committermurphy <murphy@rubychan.de>2006-04-16 00:42:38 +0000
commita2834bb05c4ab5bd32437f333a26f8286438ade4 (patch)
tree9c984ba59c66e301de4de18b46e3f76c50ead402 /lib/coderay/scanners/html.rb
parentee808b400543d924286eebaee8ed1ad8a4e28ced (diff)
downloadcoderay-a2834bb05c4ab5bd32437f333a26f8286438ade4.tar.gz
All scanners revisited not to produce errors unless in DEBUG mode. [thx@Daniel]
Fixed numerization for input not ending with \n. Added test cases in C scanner tests. Added WoNáDo as contributer for last Ruby scanner fix. Updated TODO.
Diffstat (limited to 'lib/coderay/scanners/html.rb')
-rw-r--r--lib/coderay/scanners/html.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/coderay/scanners/html.rb b/lib/coderay/scanners/html.rb
index a1efa9e..e8eea61 100644
--- a/lib/coderay/scanners/html.rb
+++ b/lib/coderay/scanners/html.rb
@@ -145,7 +145,7 @@ module CodeRay module Scanners
match ||= matched
if $DEBUG and (not kind or kind == :error)
raise_inspect 'Error token %p in line %d' %
- [[match, kind], line], tokens
+ [[match, kind], line], tokens
end
raise_inspect 'Empty token', tokens unless match