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
This commit is contained in:
Jean-Philippe Lang 2008-05-29 19:12:17 +00:00
parent e1a86106d0
commit 6ebdf848a5
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ module Scanners
end
when :include_expected
if scan(/<[^>\n]+>?|"[^"\n\\]*(?:\\.[^"\n\\]*)*"?/)
if scan(/[^\n]+/)
kind = :include
state = :initial