summaryrefslogtreecommitdiffstats
path: root/kate/data/valgrind-suppression.xml
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-11 16:14:23 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-11 16:14:23 -0600
commit7439a4b0e05832e047040ab8bf9ef13abd9288b2 (patch)
tree3a15e3033fa66b2d947daa14e6807b39f3dc84d1 /kate/data/valgrind-suppression.xml
parent783973a7d6910fee50d90fcfaf439ae3bbb15b8c (diff)
downloadtdelibs-7439a4b0e05832e047040ab8bf9ef13abd9288b2.tar.gz
tdelibs-7439a4b0e05832e047040ab8bf9ef13abd9288b2.zip
Update kate synatax highlighting files
This closes Bug 764
Diffstat (limited to 'kate/data/valgrind-suppression.xml')
-rw-r--r--kate/data/valgrind-suppression.xml51
1 files changed, 51 insertions, 0 deletions
diff --git a/kate/data/valgrind-suppression.xml b/kate/data/valgrind-suppression.xml
new file mode 100644
index 000000000..9ac949841
--- /dev/null
+++ b/kate/data/valgrind-suppression.xml
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE language SYSTEM "language.dtd">
+<language name="Valgrind Suppression" section="Other" extensions="*.supp;" mimetype="" version="1.0" kateversion="2.0" author="Milian Wolff (mail@milianw.de)" license="LGPL">
+<highlighting>
+<contexts>
+ <context name="File" attribute="Normal Text" lineEndContext="#stay">
+ <DetectChar char="#" attribute="Comment" context="Comment" firstNonSpace="true" />
+ <DetectChar char="{" attribute="Normal Text" context="Rule" firstNonSpace="true" />
+ </context>
+
+ <context name="Rule" attribute="Normal Text" lineEndContext="#stay" >
+ <RegExpr attribute="RuleName" String="^[^\}]+$" context="Rule2" />
+ <DetectChar char="}" attribute="Normal Text" context="#pop" firstNonSpace="true" />
+ </context>
+
+ <context name="Rule2" attribute="Normal Text" lineEndContext="#stay" >
+ <RegExpr attribute="ErrorKind" String="\w+:\w+" context="Rule3" />
+ <DetectChar char="}" attribute="Normal Text" context="#pop#pop" firstNonSpace="true" />
+ </context>
+
+ <context name="Rule3" attribute="Normal Text" lineEndContext="#stay" >
+ <RegExpr attribute="FrameKind" String="fun:|obj:|\.\.\." context="#stay" />
+ <DetectChar char="}" attribute="Normal Text" context="#pop#pop#pop" firstNonSpace="true" />
+ </context>
+
+ <context name="Comment" attribute="Comment" lineEndContext="#pop">
+ <DetectSpaces />
+ <IncludeRules context="##Alerts" />
+ <DetectIdentifier />
+ </context>
+</contexts>
+
+
+<itemDatas>
+ <itemData name="Normal Text" defStyleNum="dsNormal" />
+ <itemData name="RuleName" defStyleNum="dsKeyword" />
+ <itemData name="Comment" defStyleNum="dsComment" />
+ <itemData name="ErrorKind" defStyleNum="dsOthers" />
+ <itemData name="FrameKind" defStyleNum="dsFunction" />
+</itemDatas>
+</highlighting>
+
+
+<general>
+ <comments>
+ <comment name="singleLine" start="#" />
+ </comments>
+ <keywords casesensitive="0" />
+</general>
+
+</language>