summaryrefslogtreecommitdiff
path: root/share/tinykate/syntax/ada.xml
Side-by-side diff
Diffstat (limited to 'share/tinykate/syntax/ada.xml') (more/less context) (ignore whitespace changes)
-rw-r--r--share/tinykate/syntax/ada.xml101
1 files changed, 101 insertions, 0 deletions
diff --git a/share/tinykate/syntax/ada.xml b/share/tinykate/syntax/ada.xml
new file mode 100644
index 0000000..5e4ee9a
--- a/dev/null
+++ b/share/tinykate/syntax/ada.xml
@@ -0,0 +1,101 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE language SYSTEM "language.dtd">
+<language name="Ada" version="1.00" kateversion="2.0" section="Sources" extensions="*.a" mimetype="text/x-adasrc">
+ <highlighting>
+ <list name="keywords">
+ <item> abort </item>
+ <item> abs </item>
+ <item> accept </item>
+ <item> access </item>
+ <item> all </item>
+ <item> and </item>
+ <item> array </item>
+ <item> at </item>
+ <item> begin </item>
+ <item> body </item>
+ <item> case </item>
+ <item> constant </item>
+ <item> declare </item>
+ <item> delay </item>
+ <item> delta </item>
+ <item> digits </item>
+ <item> do </item>
+ <item> else </item>
+ <item> elsif </item>
+ <item> end </item>
+ <item> entry </item>
+ <item> exception </item>
+ <item> exit </item>
+ <item> for </item>
+ <item> function </item>
+ <item> generic </item>
+ <item> goto </item>
+ <item> if </item>
+ <item> in </item>
+ <item> is </item>
+ <item> limited </item>
+ <item> loop </item>
+ <item> mod </item>
+ <item> new </item>
+ <item> not </item>
+ <item> null </item>
+ <item> of </item>
+ <item> or </item>
+ <item> others </item>
+ <item> out </item>
+ <item> package </item>
+ <item> pragma </item>
+ <item> private </item>
+ <item> procedure </item>
+ <item> raise </item>
+ <item> range </item>
+ <item> rem </item>
+ <item> record </item>
+ <item> renames </item>
+ <item> return </item>
+ <item> reverse </item>
+ <item> select </item>
+ <item> separate </item>
+ <item> subtype </item>
+ <item> task </item>
+ <item> terminate </item>
+ <item> then </item>
+ <item> type </item>
+ <item> use </item>
+ <item> when </item>
+ <item> while </item>
+ <item> with </item>
+ <item> xor </item>
+ </list>
+ <contexts>
+ <context attribute="0" lineEndContext="#stay">
+ <keyword attribute="1" context="#stay" String="keywords"/>
+ <Float attribute="4" context="#stay"/>
+ <Int attribute="2" context="#stay"/>
+ <RegExpr attribute="5" context="#stay" String="'.'"/>
+ <DetectChar attribute="6" context="1" char="&quot;"/>
+ <Detect2Chars attribute="7" context="2" char="-" char1="-"/>
+ </context>
+ <context attribute="6" lineEndContext="#pop">
+ <DetectChar attribute="6" context="#pop" char="&quot;"/>
+ </context>
+ <context attribute="7" lineEndContext="#pop"/>
+ </contexts>
+ <itemDatas>
+ <itemData name="Normal Text" defStyleNum="dsNormal" />
+ <itemData name="Keyword" defStyleNum="dsKeyword" />
+ <itemData name="Decimal" defStyleNum="dsDecVal" />
+ <itemData name="Base-N" defStyleNum="dsBaseN" />
+ <itemData name="Float" defStyleNum="dsFloat" />
+ <itemData name="Char" defStyleNum="dsChar" />
+ <itemData name="String" defStyleNum="dsString" />
+ <itemData name="Comment" defStyleNum="dsComment" />
+ </itemDatas>
+ </highlighting>
+ <general>
+ <comments>
+ <comment name="singleLine" start="--" />
+ </comments>
+ <keywords casesensitive="1" />
+ </general>
+</language>