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

List:       kde-commits
Subject:    KDE_3_2_BRANCH: kdelibs/kate/data
From:       Christoph Cullmann <crossfire () babylon2k ! de>
Date:       2004-02-21 10:03:21
Message-ID: 20040221100321.6EB469672 () office ! kde ! org
[Download RAW message or body]

CVS commit by cullmann: 

same problem with #if 0 in c hl fixed, test kuniqueapplication.cpp in C mode ;)


  M +11 -3     c.xml   1.30.2.1


--- kdelibs/kate/data/c.xml  #1.30:1.30.2.1
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE language SYSTEM "language.dtd">
-<language name="C" version="1.08" kateversion="2.1" section="Sources" \
extensions="*.c;*.C;*.h" mimetype="text/x-csrc;text/x-c++src;text/x-chdr" \
priority="5"> +<language name="C" version="1.10" kateversion="2.1" section="Sources" \
extensions="*.c;*.C;*.h" mimetype="text/x-csrc;text/x-c++src;text/x-chdr" \
priority="5">  <highlighting>
     <list name="keywords">
@@ -72,5 +72,6 @@
         <HlCChar attribute="Char" context="#stay"/>
         <DetectChar attribute="String" context="String" char="&quot;"/>
-        <Detect2Chars attribute="Comment" context="Commentar" char="/" char1="*" \
beginRegion="Comment"/> +        <Detect2Chars attribute="Comment" context="Commentar \
1" char="/" char1="/"/> +        <Detect2Chars attribute="Comment" context="Commentar \
                2" char="/" char1="*" beginRegion="Comment"/>
         <StringDetect attribute="Preprocessor" context="Outscoped" String="#if 0" \
                insensitive="FALSE"/>
         <DetectChar attribute="Preprocessor" context="Preprocessor" char="#"/>
@@ -87,5 +88,8 @@
         <RegExpr attribute="Function" context="#pop" \
String="\b[_\w][_\w\d]*(?=[\s]*)" />  </context>
-      <context attribute="Comment" lineEndContext="#stay" name="Commentar">
+      <context attribute="Comment" lineEndContext="#pop" name="Commentar 1">
+        <keyword attribute="Decimal" context="#stay" String="attention" />
+      </context>
+      <context attribute="Comment" lineEndContext="#stay" name="Commentar 2">
         <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" \
                endRegion="Comment"/>
         <keyword attribute="Decimal" context="#stay" String="attention" />
@@ -108,4 +112,6 @@
       <context attribute="Normal Text" lineEndContext="#pop" name="Some Context2"/>
       <context attribute="Comment" lineEndContext="#stay" name="Outscoped" >
+        <Detect2Chars attribute="Comment" context="Commentar 1" char="/" char1="/"/>
+        <Detect2Chars attribute="Comment" context="Commentar 2" char="/" char1="*" \
                beginRegion="Comment"/>
         <keyword attribute="Decimal" context="#stay" String="attention" />
         <RegExpr attribute="Comment" context="Outscoped intern" String="^#if" />
@@ -114,4 +120,6 @@
       </context>
       <context attribute="Comment" lineEndContext="#stay" name="Outscoped intern">
+        <Detect2Chars attribute="Comment" context="Commentar 1" char="/" char1="/"/>
+        <Detect2Chars attribute="Comment" context="Commentar 2" char="/" char1="*" \
                beginRegion="Comment"/>
         <RegExpr attribute="Comment" context="Outscoped intern" String="#if" />
         <RegExpr attribute="Comment" context="#pop" String="#endif" />


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

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