summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2010-06-15 13:01:06 +0000
committermurphy <murphy@rubychan.de>2010-06-15 13:01:06 +0000
commit20b51acc327d148eaf8a31c5ceae5f80806dceb2 (patch)
tree14ab30f6d18d8d0a3d5e4b6baa88e3b1e11209a6 /lib
parent2ca36302b5cf81f80119c1e560fbd4ef5d4548d6 (diff)
downloadcoderay-20b51acc327d148eaf8a31c5ceae5f80806dceb2.tar.gz
Fixed PHP scanner: strings should always be groups.
Diffstat (limited to 'lib')
-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 67bb233..6f3c237 100644
--- a/lib/coderay/scanners/php.rb
+++ b/lib/coderay/scanners/php.rb
@@ -461,7 +461,7 @@ module Scanners
states.push :php
encoder.text_token match, :delimiter
else
- encoder.text_token match, :string
+ encoder.text_token match, :content
end
elsif match = scan(/\$\{#{RE::IDENTIFIER}\}/o)
encoder.text_token match, :local_variable