summaryrefslogtreecommitdiff
path: root/lib/coderay
diff options
context:
space:
mode:
authorKornelius Kalnbach <murphy@rubychan.de>2016-02-13 00:26:43 +0100
committerKornelius Kalnbach <murphy@rubychan.de>2016-02-13 00:26:43 +0100
commitc274a9024e0a16cae529431b109d364f6cc3a65e (patch)
tree8bfb5cb4aba0ecd5cc1c3ae2c233b5afd1b38bc3 /lib/coderay
parent61a9d9689be7720a8345b7ff35f08041134cc15e (diff)
downloadcoderay-c274a9024e0a16cae529431b109d364f6cc3a65e.tar.gz
fix comment
Diffstat (limited to 'lib/coderay')
-rw-r--r--lib/coderay/scanners/lua.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/coderay/scanners/lua.rb b/lib/coderay/scanners/lua.rb
index fb1e45a..81d7dae 100644
--- a/lib/coderay/scanners/lua.rb
+++ b/lib/coderay/scanners/lua.rb
@@ -76,7 +76,7 @@ module Scanners
encoder.text_token(match, :comment)
elsif match = scan(/\[=*\[/) # [[ long (possibly multiline) string ]]
- num_equals = match.count("=") # Number must match for comment end
+ num_equals = match.count("=") # Number must match for string end
encoder.begin_group(:string)
encoder.text_token(match, :delimiter)
state = :long_string