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

List:       kde-bugs-dist
Subject:    [Bug 92628] Makefile highlighting does not recognize escaped '#'
From:       Dominik Haumann <dhdev () gmx ! de>
Date:       2006-06-28 7:26:55
Message-ID: 20060628072655.4667.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=92628         
dhdev gmx de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From dhdev gmx de  2006-06-28 09:26 -------
SVN commit 555659 by dhaumann:

fix: highlight # at the beginning of a line as comment
BUG: 92628


 M  +2 -2      makefile.xml  


--- branches/KDE/3.5/kdelibs/kate/data/makefile.xml #555658:555659
 @ -2,7 +2,7  @
 <!DOCTYPE language SYSTEM "language.dtd">
 <!-- Makefile syntaxfile v0.9 by Per Wigren <wigren home se> -->
 <!-- Modified by Joseph Wenninger <jowenn kde org> -->
-<language name="Makefile" version="1.06" kateversion="2.4" section="Other" \
extensions="*makefile*;*Makefile*" mimetype="text/x-makefile" author="Per Wigren \
(wigren home se)" license=""> +<language name="Makefile" version="1.07" \
kateversion="2.4" section="Other" extensions="*makefile*;*Makefile*" \
mimetype="text/x-makefile" author="Per Wigren (wigren home se)" license="">  \
<highlighting>  <list name = "keywords">
       <item> include </item>
 @ -26,7 +26,7  @
         <RegExpr attribute="Operator" context="VarFromNormal" String="[$][\({]"/>
         <AnyChar attribute="Operator" context="#stay" String="+*=%$():\\&#059;" />
         <RegExpr attribute="Operator" context="Commands" String="[ -]" \
                firstNonSpace="true"/>
-        <RegExpr attribute="Comment" context="#stay" String="(:^|[^\\])#.*$"/>
+        <RegExpr attribute="Comment" context="#stay" String="(?:^|[^\\])#.*$"/>
       </context>
 
       <context attribute="String" lineEndContext="#pop" name="String">


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

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