1
<?xml version="1.0" encoding="UTF-8"?>
2
<!DOCTYPE language SYSTEM "language.dtd">
5
*************************************************************************
7
* Syntax highlighting for the AVR Assembler *
8
* Copyright (C) 2004, Roland Nagy *
10
*************************************************************************
12
Author: UNGAR Didier <didungar@gmail.com>
19
<language name="Asterisk" version="1.00" kateversion="2.4" section="Configuration" extensions="*asterisk/*.conf" mimetype="" author="UNGAR Didier" license="GPL">
21
<list name="keywords">
28
<item>GoToIfTime</item>
32
<item>SayDigits</item>
33
<item>SayNumber</item>
35
<item>SetCallerPres</item>
41
<context attribute="Normal Text" lineEndContext="#stay" name="Normal">
42
<RegExpr attribute="Label" context="#stay" String="^\[[A-Za-z0-9_]+\]$" />
43
<RegExpr attribute="Keyword" context="#stay" String="TIMEOUT\(absolute\)=[0-9]+" />
44
<RegExpr attribute="Keyword" context="#stay" String="[A-Za-z0-9_]+=\$\{CUT\(params,-,([1-9]|[1-9][0-9]+)\)\}" />
46
<keyword attribute="Keyword" context="#stay" String="keywords"/>
47
<RegExpr attribute="Normal Text" context="#stay" String="[A-Za-z_.$][A-Za-z0-9_.$]*" />
48
<DetectChar attribute="String" context="String" char=""" />
49
<DetectChar attribute="Comment" context="Commentar 2" char=";" />
50
<AnyChar attribute="Symbol" context="#stay" String="!#%&*()+,-<=>?/:[]^{|}~" />
52
<context attribute="Comment" lineEndContext="#stay" name="Commentar 1">
53
<Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" />
55
<context attribute="Comment" lineEndContext="#pop" name="Commentar 2" />
56
<context attribute="Preprocessor" lineEndContext="#pop" name="Preprocessor" />
57
<context attribute="String" lineEndContext="#pop" name="String">
58
<LineContinue attribute="String" context="Some Context" />
59
<HlCStringChar attribute="String Char" context="#stay" />
60
<DetectChar attribute="String" context="#pop" char=""" />
62
<context attribute="Normal Text" lineEndContext="#pop" name="Some Context" />
66
<itemData name="Normal Text" defStyleNum="dsNormal" />
67
<itemData name="Label" defStyleNum="dsFunction" />
68
<itemData name="Keyword" defStyleNum="dsKeyword" />
69
<itemData name="String" defStyleNum="dsString" />
70
<itemData name="Symbol" defStyleNum="dsNormal" />
71
<itemData name="Comment" defStyleNum="dsComment" />
77
<comment name="singleLine" start=";" />
79
<keywords casesensitive="0" weakDeliminator="_.$" />