|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!DOCTYPE language SYSTEM "language.dtd">
|
|
|
|
<!--
|
|
|
|
|
|
|
|
*************************************************************************
|
|
|
|
* *
|
|
|
|
* Syntax highlighting for the AVR Assembler *
|
|
|
|
* Copyright (C) 2004, Roland Nagy *
|
|
|
|
* *
|
|
|
|
*************************************************************************
|
|
|
|
|
|
|
|
Author: UNGAR Didier <didungar@gmail.com>
|
|
|
|
Date: 22 04 2009
|
|
|
|
Version: 1.0
|
|
|
|
|
|
|
|
|
|
|
|
-->
|
|
|
|
|
|
|
|
<language name="Asterisk" version="1.01" kateversion="2.5" section="Configuration" extensions="*asterisk/*.conf" mimetype="" author="UNGAR Didier" license="GPL">
|
|
|
|
<highlighting>
|
|
|
|
<list name="keywords">
|
|
|
|
<item>AGI</item>
|
|
|
|
<item>Answer</item>
|
|
|
|
<item>Dial</item>
|
|
|
|
<item>Hangup</item>
|
|
|
|
<item>GoTo</item>
|
|
|
|
<item>GoToIf</item>
|
|
|
|
<item>GoToIfTime</item>
|
|
|
|
<item>NoOp</item>
|
|
|
|
<item>PlayBack</item>
|
|
|
|
<item>Read</item>
|
|
|
|
<item>SayDigits</item>
|
|
|
|
<item>SayNumber</item>
|
|
|
|
<item>Set</item>
|
|
|
|
<item>SetCallerPres</item>
|
|
|
|
<item>System</item>
|
|
|
|
<item>Wait</item>
|
|
|
|
</list>
|
|
|
|
|
|
|
|
<contexts>
|
|
|
|
<context attribute="Normal Text" lineEndContext="#stay" name="Normal">
|
|
|
|
<RegExpr attribute="Label" context="#stay" String="^\[[A-Za-z0-9_]+\]$" />
|
|
|
|
<RegExpr attribute="Keyword" context="#stay" String="TIMEOUT\(absolute\)=[0-9]+" />
|
|
|
|
<RegExpr attribute="Keyword" context="#stay" String="[A-Za-z0-9_]+=\$\{CUT\(params,-,([1-9]|[1-9][0-9]+)\)\}" />
|
|
|
|
|
|
|
|
<keyword attribute="Keyword" context="#stay" String="keywords"/>
|
|
|
|
<RegExpr attribute="Normal Text" context="#stay" String="[A-Za-z_.$][A-Za-z0-9_.$]*" />
|
|
|
|
<DetectChar attribute="String" context="String" char=""" />
|
|
|
|
<DetectChar attribute="Comment" context="Commentar 2" char=";" />
|
|
|
|
<AnyChar attribute="Symbol" context="#stay" String="!#%&*()+,-<=>?/:[]^{|}~" />
|
|
|
|
</context>
|
|
|
|
<context attribute="Comment" lineEndContext="#stay" name="Commentar 1">
|
|
|
|
<Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" />
|
|
|
|
</context>
|
|
|
|
<context attribute="Comment" lineEndContext="#pop" name="Commentar 2" />
|
|
|
|
<context attribute="Preprocessor" lineEndContext="#pop" name="Preprocessor" />
|
|
|
|
<context attribute="String" lineEndContext="#pop" name="String">
|
|
|
|
<LineContinue attribute="String" context="Some Context" />
|
|
|
|
<HlCStringChar attribute="String Char" context="#stay" />
|
|
|
|
<DetectChar attribute="String" context="#pop" char=""" />
|
|
|
|
</context>
|
|
|
|
<context attribute="Normal Text" lineEndContext="#pop" name="Some Context" />
|
|
|
|
</contexts>
|
|
|
|
|
|
|
|
<itemDatas>
|
|
|
|
<itemData name="Normal Text" defStyleNum="dsNormal" />
|
|
|
|
<itemData name="Label" defStyleNum="dsFunction" />
|
|
|
|
<itemData name="Keyword" defStyleNum="dsKeyword" />
|
|
|
|
<itemData name="String" defStyleNum="dsString" />
|
|
|
|
<itemData name="Symbol" defStyleNum="dsNormal" />
|
|
|
|
<itemData name="Comment" defStyleNum="dsComment" />
|
|
|
|
</itemDatas>
|
|
|
|
</highlighting>
|
|
|
|
|
|
|
|
<general>
|
|
|
|
<comments>
|
|
|
|
<comment name="singleLine" start=";" />
|
|
|
|
</comments>
|
|
|
|
<keywords casesensitive="0" weakDeliminator="_.$" />
|
|
|
|
</general>
|
|
|
|
</language>
|