[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdelibs/kate/syntax/data
From:       Pascal Létourneau <pascal.letourneau () gmail ! com>
Date:       2010-10-18 20:13:57
Message-ID: 20101018201357.D342BAC896 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1187262 by pletourn:

Adapt to peculiar cmake string behavior


 M  +2 -2      cmake.xml  


--- trunk/KDE/kdelibs/kate/syntax/data/cmake.xml #1187261:1187262
@@ -25,7 +25,7 @@
  **********************************************************************
  -->
 <!-- generated for "cmake version 2.8.1" -->
-<language name="CMake" version="1.12" kateversion="2.4" section="Other" \
extensions="CMakeLists.txt;*.cmake;" mimetype="" author="Alexander Neundorf \
(neundorf@kde.org)" license="LGPL"> +<language name="CMake" version="1.13" \
kateversion="2.4" section="Other" extensions="CMakeLists.txt;*.cmake;" mimetype="" \
author="Alexander Neundorf (neundorf@kde.org)" license="LGPL">  <highlighting>
 
     <list name = "commands">
@@ -550,7 +550,7 @@
         <IncludeRules context="##Alerts" />
       </context>
       <context attribute="Strings" lineEndContext="#stay" name="String">
-        <DetectChar attribute="Strings" context="#pop" char="&quot;" />
+        <RegExpr attribute="Strings" context="#pop" String="&quot;(?=[ );]|$)" />
         <RegExpr attribute="Escapes" context="#stay" String="\\[&quot;$n\\]" />
         <IncludeRules context="Detect Variables"/>
       </context>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic