| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<!DOCTYPE language> |
| 3 |
<language name="Valgrind Suppression" section="Other" extensions="*.supp;" mimetype="" version="4" kateversion="5.0" author="Milian Wolff ([email protected])" license="LGPL"> |
| 4 |
<highlighting> |
| 5 |
<contexts> |
| 6 |
<context name="File" attribute="Normal Text" lineEndContext="#stay"> |
| 7 |
<DetectChar char="#" attribute="Comment" context="Comment" firstNonSpace="true" /> |
| 8 |
<DetectChar char="{" attribute="Normal Text" context="Rule" firstNonSpace="true" /> |
| 9 |
</context> |
| 10 |
|
| 11 |
<context name="Rule" attribute="Normal Text" lineEndContext="#stay" > |
| 12 |
<RegExpr attribute="RuleName" String="^[^\}]+$" context="Rule2" column="0" /> |
| 13 |
<DetectChar char="}" attribute="Normal Text" context="#pop" firstNonSpace="true" /> |
| 14 |
</context> |
| 15 |
|
| 16 |
<context name="Rule2" attribute="Normal Text" lineEndContext="#stay" > |
| 17 |
<RegExpr attribute="ErrorKind" String="\w+:\w+" context="Rule3" /> |
| 18 |
<DetectChar char="}" attribute="Normal Text" context="#pop#pop" firstNonSpace="true" /> |
| 19 |
</context> |
| 20 |
|
| 21 |
<context name="Rule3" attribute="Normal Text" lineEndContext="#stay" > |
| 22 |
<RegExpr attribute="FrameKind" String="fun:|obj:|\.\.\." context="#stay" /> |
| 23 |
<DetectChar char="}" attribute="Normal Text" context="#pop#pop#pop" firstNonSpace="true" /> |
| 24 |
</context> |
| 25 |
|
| 26 |
<context name="Comment" attribute="Comment" lineEndContext="#pop"> |
| 27 |
<DetectSpaces /> |
| 28 |
<IncludeRules context="##Comments" /> |
| 29 |
<DetectIdentifier /> |
| 30 |
</context> |
| 31 |
</contexts> |
| 32 |
|
| 33 |
|
| 34 |
<itemDatas> |
| 35 |
<itemData name="Normal Text" defStyleNum="dsNormal" /> |
| 36 |
<itemData name="RuleName" defStyleNum="dsKeyword" /> |
| 37 |
<itemData name="Comment" defStyleNum="dsComment" /> |
| 38 |
<itemData name="ErrorKind" defStyleNum="dsOthers" /> |
| 39 |
<itemData name="FrameKind" defStyleNum="dsFunction" /> |
| 40 |
</itemDatas> |
| 41 |
</highlighting> |
| 42 |
|
| 43 |
|
| 44 |
<general> |
| 45 |
<comments> |
| 46 |
<comment name="singleLine" start="#" /> |
| 47 |
</comments> |
| 48 |
<keywords casesensitive="0" /> |
| 49 |
</general> |
| 50 |
|
| 51 |
</language> |
| 52 |
<!-- kate: replace-tabs on; indent-width 2; --> |