]> granicus.if.org Git - docbook-dsssl/commitdiff
Additional keywords from Yuri Zhilin
authorJirka Kosek <jirka@kosek.cz>
Wed, 27 Apr 2011 11:27:23 +0000 (11:27 +0000)
committerJirka Kosek <jirka@kosek.cz>
Wed, 27 Apr 2011 11:27:23 +0000 (11:27 +0000)
xsl/highlighting/delphi-hl.xml

index d5b4d1a04e6d5719c3d0c09e5f69024dbeb8a264..44f3e2959f74518ecde2fe69f789baa9b59ef4ea 100644 (file)
@@ -29,172 +29,192 @@ Michiel Hendriks <elmuerte at users.sourceforge.net>
 \r
 -->\r
 <highlighters>\r
-       <highlighter type="multiline-comment">\r
-               <!-- multiline comments starting with an $ are directives -->\r
-               <start>{$</start>\r
-               <end>}</end>\r
-               <style>directive</style>\r
-       </highlighter>\r
-       <highlighter type="multiline-comment">\r
-               <!-- multiline comments starting with an $ are directives -->\r
-               <start>(*$</start>\r
-               <end>)</end>\r
-               <style>directive</style>\r
-       </highlighter>\r
-       <highlighter type="multiline-comment">\r
-               <start>{</start>\r
-               <end>}</end>\r
-       </highlighter>\r
-       <highlighter type="multiline-comment">\r
-               <start>(*</start>\r
-               <end>*)</end>\r
-       </highlighter>\r
-       <highlighter type="oneline-comment">//</highlighter>\r
-       <highlighter type="string">\r
-               <string>'</string>\r
-               <doubleEscapes />\r
-       </highlighter>\r
-       <highlighter type="hexnumber">\r
-               <prefix>#$</prefix>\r
-               <ignoreCase />\r
-               <style>string</style>           \r
-       </highlighter>\r
-       <highlighter type="number">\r
-               <prefix>#</prefix>\r
-               <ignoreCase />\r
-               <style>string</style>           \r
-       </highlighter>\r
-       <highlighter type="hexnumber">\r
-               <prefix>$</prefix>\r
-               <ignoreCase />\r
-       </highlighter>\r
-       <highlighter type="number">\r
-               <point>.</point>\r
-               <exponent>e</exponent>\r
-               <ignoreCase />\r
-       </highlighter>\r
-       <highlighter type="keywords">\r
-               <!-- Reserved words -->\r
-               <keyword>and</keyword>\r
-               <keyword>else</keyword>\r
-               <keyword>inherited</keyword>\r
-               <keyword>packed</keyword>\r
-               <keyword>then</keyword>\r
-               <keyword>array</keyword>\r
-               <keyword>end</keyword>\r
-               <keyword>initialization</keyword>\r
-               <keyword>procedure</keyword>\r
-               <keyword>threadvar</keyword>\r
-               <keyword>as</keyword>\r
-               <keyword>except</keyword>\r
-               <keyword>inline</keyword>\r
-               <keyword>program</keyword>\r
-               <keyword>to</keyword>\r
-               <keyword>asm</keyword>\r
-               <keyword>exports</keyword>\r
-               <keyword>interface</keyword>\r
-               <keyword>property</keyword>\r
-               <keyword>try</keyword>\r
-               <keyword>begin</keyword>\r
-               <keyword>file</keyword>\r
-               <keyword>is</keyword>\r
-               <keyword>raise</keyword>\r
-               <keyword>type</keyword>\r
-               <keyword>case</keyword>\r
-               <keyword>final</keyword>\r
-               <keyword>label</keyword>\r
-               <keyword>record</keyword>\r
-               <keyword>unit</keyword>\r
-               <keyword>class</keyword>\r
-               <keyword>finalization</keyword>\r
-               <keyword>library</keyword>\r
-               <keyword>repeat</keyword>\r
-               <keyword>unsafe</keyword>\r
-               <keyword>const</keyword>\r
-               <keyword>finally</keyword>\r
-               <keyword>mod</keyword>\r
-               <keyword>resourcestring</keyword>\r
-               <keyword>until</keyword>\r
-               <keyword>constructor</keyword>\r
-               <keyword>for</keyword>\r
-               <keyword>nil</keyword>\r
-               <keyword>sealed</keyword>\r
-               <keyword>uses</keyword>\r
-               <keyword>destructor</keyword>\r
-               <keyword>function</keyword>\r
-               <keyword>not</keyword>\r
-               <keyword>set</keyword>\r
-               <keyword>var</keyword>\r
-               <keyword>dispinterface</keyword>\r
-               <keyword>goto</keyword>\r
-               <keyword>object</keyword>\r
-               <keyword>shl</keyword>\r
-               <keyword>while</keyword>\r
-               <keyword>div</keyword>\r
-               <keyword>if</keyword>\r
-               <keyword>of</keyword>\r
-               <keyword>shr</keyword>\r
-               <keyword>with</keyword>\r
-               <keyword>do</keyword>\r
-               <keyword>implementation</keyword>\r
-               <keyword>or</keyword>\r
-               <keyword>static</keyword>\r
-               <keyword>xor</keyword>\r
-               <keyword>downto</keyword>\r
-               <keyword>in</keyword>\r
-               <keyword>out</keyword>\r
-               <keyword>string</keyword>\r
+        <highlighter type="multiline-comment">\r
+                <!-- multiline comments starting with an $ are directives -->\r
+                <start>{$</start>\r
+                <end>}</end>\r
+                <style>directive</style>\r
+        </highlighter>\r
+        <highlighter type="multiline-comment">\r
+                <!-- multiline comments starting with an $ are directives -->\r
+                <start>(*$</start>\r
+                <end>)</end>\r
+                <style>directive</style>\r
+        </highlighter>\r
+        <highlighter type="multiline-comment">\r
+                <start>{</start>\r
+                <end>}</end>\r
+        </highlighter>\r
+        <highlighter type="multiline-comment">\r
+                <start>(*</start>\r
+                <end>*)</end>\r
+        </highlighter>\r
+        <highlighter type="oneline-comment">//</highlighter>\r
+        <highlighter type="string">\r
+                <string>'</string>\r
+                <doubleEscapes />\r
+        </highlighter>\r
+        <highlighter type="hexnumber">\r
+                <prefix>#$</prefix>\r
+                <ignoreCase />\r
+                <style>string</style>           \r
+        </highlighter>\r
+        <highlighter type="number">\r
+                <prefix>#</prefix>\r
+                <ignoreCase />\r
+                <style>string</style>           \r
+        </highlighter>\r
+        <highlighter type="hexnumber">\r
+                <prefix>$</prefix>\r
+                <ignoreCase />\r
+        </highlighter>\r
+        <highlighter type="number">\r
+                <point>.</point>\r
+                <exponent>e</exponent>\r
+                <ignoreCase />\r
+        </highlighter>\r
+        <highlighter type="keywords">\r
+                <!-- Reserved words -->\r
+                <keyword>and</keyword>\r
+                <keyword>else</keyword>\r
+                <keyword>inherited</keyword>\r
+                <keyword>packed</keyword>\r
+                <keyword>then</keyword>\r
+                <keyword>array</keyword>\r
+                <keyword>end</keyword>\r
+                <keyword>initialization</keyword>\r
+                <keyword>procedure</keyword>\r
+                <keyword>threadvar</keyword>\r
+                <keyword>as</keyword>\r
+                <keyword>except</keyword>\r
+                <keyword>inline</keyword>\r
+                <keyword>program</keyword>\r
+                <keyword>to</keyword>\r
+                <keyword>asm</keyword>\r
+                <keyword>exports</keyword>\r
+                <keyword>interface</keyword>\r
+                <keyword>property</keyword>\r
+                <keyword>try</keyword>\r
+                <keyword>begin</keyword>\r
+                <keyword>file</keyword>\r
+                <keyword>is</keyword>\r
+                <keyword>raise</keyword>\r
+                <keyword>type</keyword>\r
+                <keyword>case</keyword>\r
+                <keyword>final</keyword>\r
+                <keyword>label</keyword>\r
+                <keyword>record</keyword>\r
+                <keyword>unit</keyword>\r
+                <keyword>class</keyword>\r
+                <keyword>finalization</keyword>\r
+                <keyword>library</keyword>\r
+                <keyword>repeat</keyword>\r
+                <keyword>unsafe</keyword>\r
+                <keyword>const</keyword>\r
+                <keyword>finally</keyword>\r
+                <keyword>mod</keyword>\r
+                <keyword>resourcestring</keyword>\r
+                <keyword>until</keyword>\r
+                <keyword>constructor</keyword>\r
+                <keyword>for</keyword>\r
+                <keyword>nil</keyword>\r
+                <keyword>sealed</keyword>\r
+                <keyword>uses</keyword>\r
+                <keyword>destructor</keyword>\r
+                <keyword>function</keyword>\r
+                <keyword>not</keyword>\r
+                <keyword>set</keyword>\r
+                <keyword>var</keyword>\r
+                <keyword>dispinterface</keyword>\r
+                <keyword>goto</keyword>\r
+                <keyword>object</keyword>\r
+                <keyword>shl</keyword>\r
+                <keyword>while</keyword>\r
+                <keyword>div</keyword>\r
+                <keyword>if</keyword>\r
+                <keyword>of</keyword>\r
+                <keyword>shr</keyword>\r
+                <keyword>with</keyword>\r
+                <keyword>do</keyword>\r
+                <keyword>implementation</keyword>\r
+                <keyword>or</keyword>\r
+                <keyword>static</keyword>\r
+                <keyword>xor</keyword>\r
+                <keyword>downto</keyword>\r
+                <keyword>in</keyword>\r
+                <keyword>out</keyword>\r
+                <keyword>string</keyword>\r
+                <keyword>exit</keyword> \r
+                <keyword>break</keyword>\r
+                <keyword>continue</keyword>\r
 \r
-               <!-- Special meaning -->\r
-               <keyword>at</keyword>\r
-               <keyword>on</keyword>\r
+                <!-- Special meaning -->\r
+                <keyword>at</keyword>\r
+                <keyword>on</keyword>\r
   \r
-               <!-- Directives -->\r
-               <keyword>absolute</keyword>\r
-               <keyword>dynamic</keyword>\r
-               <keyword>local</keyword>\r
-               <keyword>platform</keyword>\r
-               <keyword>requires</keyword>\r
-               <keyword>abstract</keyword>\r
-               <keyword>export</keyword>\r
-               <keyword>message</keyword>\r
-               <keyword>private</keyword>\r
-               <keyword>resident</keyword>\r
-               <keyword>assembler</keyword>\r
-               <keyword>external</keyword>\r
-               <keyword>name</keyword>\r
-               <keyword>protected</keyword>\r
-               <keyword>safecall</keyword>\r
-               <keyword>automated</keyword>\r
-               <keyword>far</keyword>\r
-               <keyword>near</keyword>\r
-               <keyword>public</keyword>\r
-               <keyword>stdcall</keyword>\r
-               <keyword>cdecl</keyword>\r
-               <keyword>forward</keyword>\r
-               <keyword>nodefault</keyword>\r
-               <keyword>published</keyword>\r
-               <keyword>stored</keyword>\r
-               <keyword>contains</keyword>\r
-               <keyword>implements</keyword>\r
-               <keyword>overload</keyword>\r
-               <keyword>read</keyword>\r
-               <keyword>varargs</keyword>\r
-               <keyword>default</keyword>\r
-               <keyword>index</keyword>\r
-               <keyword>override</keyword>\r
-               <keyword>readonly</keyword>\r
-               <keyword>virtual</keyword>\r
-               <keyword>deprecated</keyword>\r
-               <keyword>inline</keyword>\r
-               <keyword>package</keyword>\r
-               <keyword>register</keyword>\r
-               <keyword>write</keyword>\r
-               <keyword>dispid</keyword>\r
-               <keyword>library</keyword>\r
-               <keyword>pascal</keyword>\r
-               <keyword>reintroduce</keyword>\r
-               <keyword>writeonly</keyword>\r
-               <ignoreCase />\r
-       </highlighter>\r
+                <!-- Directives -->\r
+                <keyword>absolute</keyword>\r
+                <keyword>dynamic</keyword>\r
+                <keyword>local</keyword>\r
+                <keyword>platform</keyword>\r
+                <keyword>requires</keyword>\r
+                <keyword>abstract</keyword>\r
+                <keyword>export</keyword>\r
+                <keyword>message</keyword>\r
+                <keyword>private</keyword>\r
+                <keyword>resident</keyword>\r
+                <keyword>assembler</keyword>\r
+                <keyword>external</keyword>\r
+                <keyword>name</keyword>\r
+                <keyword>protected</keyword>\r
+                <keyword>safecall</keyword>\r
+                <keyword>automated</keyword>\r
+                <keyword>far</keyword>\r
+                <keyword>near</keyword>\r
+                <keyword>public</keyword>\r
+                <keyword>stdcall</keyword>\r
+                <keyword>cdecl</keyword>\r
+                <keyword>forward</keyword>\r
+                <keyword>nodefault</keyword>\r
+                <keyword>published</keyword>\r
+                <keyword>stored</keyword>\r
+                <keyword>contains</keyword>\r
+                <keyword>implements</keyword>\r
+                <keyword>overload</keyword>\r
+                <keyword>read</keyword>\r
+                <keyword>varargs</keyword>\r
+                <keyword>default</keyword>\r
+                <keyword>index</keyword>\r
+                <keyword>override</keyword>\r
+                <keyword>readonly</keyword>\r
+                <keyword>virtual</keyword>\r
+                <keyword>deprecated</keyword>\r
+                <keyword>inline</keyword>\r
+                <keyword>package</keyword>\r
+                <keyword>register</keyword>\r
+                <keyword>write</keyword>\r
+                <keyword>dispid</keyword>\r
+                <keyword>library</keyword>\r
+                <keyword>pascal</keyword>\r
+                <keyword>reintroduce</keyword>\r
+                <keyword>writeonly</keyword>\r
+\r
+                <!-- Native pascal types of data  -->\r
+                <keyword>byte</keyword>\r
+                <keyword>shortint</keyword>\r
+                <keyword>word</keyword>\r
+                <keyword>smallint</keyword>\r
+                <keyword>longint</keyword>\r
+                <keyword>integer</keyword>\r
+                <keyword>cardinal</keyword>\r
+                <keyword>char</keyword>\r
+                <keyword>real</keyword>\r
+                <keyword>double</keyword>\r
+                <keyword>single</keyword>\r
+                <keyword>extended</keyword>\r
+                <keyword>comp</keyword>\r
+                <keyword>boolean</keyword>\r
+\r
+                <ignoreCase />\r
+        </highlighter>\r
 </highlighters>
\ No newline at end of file