summaryrefslogtreecommitdiff
path: root/lib/coderay/scanners/php.rb
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2011-07-08 16:30:07 +0000
committermurphy <murphy@rubychan.de>2011-07-08 16:30:07 +0000
commit277db0fcac531d9f4776bafd05f8630a45520cac (patch)
tree47c79910ef8bf5c03aa7b98bacd48461657e18f1 /lib/coderay/scanners/php.rb
parent0b46fc84bdbd80004eef0fb7e4aa25c4a073c37f (diff)
downloadcoderay-277db0fcac531d9f4776bafd05f8630a45520cac.tar.gz
minor support fixes for some Ruby engines and versions
Diffstat (limited to 'lib/coderay/scanners/php.rb')
-rw-r--r--lib/coderay/scanners/php.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/coderay/scanners/php.rb b/lib/coderay/scanners/php.rb
index ea9a8c8..8ec1196 100644
--- a/lib/coderay/scanners/php.rb
+++ b/lib/coderay/scanners/php.rb
@@ -354,7 +354,7 @@ module Scanners
elsif match = scan(/<<<(?:(#{RE::IDENTIFIER})|"(#{RE::IDENTIFIER})"|'(#{RE::IDENTIFIER})')/o)
encoder.begin_group :string
- warn 'heredoc in heredoc?' if heredoc_delimiter
+ # warn 'heredoc in heredoc?' if heredoc_delimiter
heredoc_delimiter = Regexp.escape(self[1] || self[2] || self[3])
encoder.text_token match, :delimiter
states.push self[3] ? :sqstring : :dqstring