Commit 6ebdf848 authored by Jean-Philippe Lang's avatar Jean-Philippe Lang

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
parent e1a86106
......@@ -122,7 +122,7 @@ module Scanners
end
when :include_expected
if scan(/<[^>\n]+>?|"[^"\n\\]*(?:\\.[^"\n\\]*)*"?/)
if scan(/[^\n]+/)
kind = :include
state = :initial
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment