summaryrefslogtreecommitdiffstats
path: root/vendor
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-05-29 19:12:17 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-05-29 19:12:17 +0000
commit6ebdf848a583add999e9f27a5d1a0bf4009d478d (patch)
treec05fc17f38154038e7b1dfdb62e61f9f7a24e70e /vendor
parente1a86106d0c5317d75eef170c1d676f9c3d464f4 (diff)
downloadredmine-6ebdf848a583add999e9f27a5d1a0bf4009d478d.tar.gz
redmine-6ebdf848a583add999e9f27a5d1a0bf4009d478d.zip
Fixed: Unable to use angular braces after include word in c code highlighting (#1230).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1476 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'vendor')
-rw-r--r--vendor/plugins/coderay-0.7.6.227/lib/coderay/scanners/c.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/plugins/coderay-0.7.6.227/lib/coderay/scanners/c.rb b/vendor/plugins/coderay-0.7.6.227/lib/coderay/scanners/c.rb
index f6d71ade2..e5d87b233 100644
--- a/vendor/plugins/coderay-0.7.6.227/lib/coderay/scanners/c.rb
+++ b/vendor/plugins/coderay-0.7.6.227/lib/coderay/scanners/c.rb
@@ -122,7 +122,7 @@ module Scanners
end
when :include_expected
- if scan(/<[^>\n]+>?|"[^"\n\\]*(?:\\.[^"\n\\]*)*"?/)
+ if scan(/[^\n]+/)
kind = :include
state = :initial