2007-11-15 22:49:52 -06:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!DOCTYPE language SYSTEM "language.dtd">
|
2007-11-22 16:10:29 -06:00
|
|
|
<language name="testv1" version="1.0" section="Others">
|
2007-11-15 22:49:52 -06:00
|
|
|
|
|
|
|
<escape-char>\</escape-char>
|
|
|
|
|
|
|
|
<!-- // C++ Line Comment -->
|
|
|
|
<line-comment name="C++ Line Comment" style="Comment">
|
|
|
|
<start-regex>//</start-regex>
|
|
|
|
</line-comment>
|
|
|
|
|
|
|
|
<!-- /* C Block Comment */ -->
|
|
|
|
<block-comment name="C Block Comment" style="Comment">
|
|
|
|
<start-regex>/\*</start-regex>
|
|
|
|
<end-regex>\*/</end-regex>
|
|
|
|
</block-comment>
|
|
|
|
|
|
|
|
<!-- "double-quoted strings" -->
|
|
|
|
<string name="String" style="String" end-at-line-end="FALSE">
|
|
|
|
<start-regex>"</start-regex>
|
|
|
|
<end-regex>"</end-regex>
|
|
|
|
</string>
|
|
|
|
|
|
|
|
<!-- 'single-quoted strings' -->
|
|
|
|
<string name="String 2" style="String" end-at-line-end="FALSE">
|
|
|
|
<start-regex>'</start-regex>
|
|
|
|
<end-regex>'</end-regex>
|
|
|
|
</string>
|
|
|
|
|
|
|
|
<keyword-list name="Reserved Words - Group #1" style="Others" case-sensitive="TRUE">
|
|
|
|
<keyword>bambom</keyword>
|
|
|
|
<keyword>bombam</keyword>
|
|
|
|
</keyword-list>
|
|
|
|
|
|
|
|
<keyword-list name="Reserved Words - Group #2" style="Others 2" case-sensitive="TRUE">
|
|
|
|
<keyword>bumbam</keyword>
|
|
|
|
<keyword>bambum</keyword>
|
|
|
|
</keyword-list>
|
|
|
|
|
|
|
|
<keyword-list name="OpCodes" style="Keyword" case-sensitive="TRUE">
|
|
|
|
<keyword>kwkw</keyword>
|
|
|
|
<keyword>wkwk</keyword>
|
|
|
|
</keyword-list>
|
|
|
|
|
2007-11-22 16:10:29 -06:00
|
|
|
<pattern-item name = "Floats" style = "Floating Point">
|
2007-11-15 22:49:52 -06:00
|
|
|
<regex>\b([0-9]*\.[0-9]+[eE@][-+]?[0-9]+|[0-9]+[eE@][-+]?[0-9]+|[0-9]*\.[0-9]+)\b</regex>
|
|
|
|
</pattern-item>
|
|
|
|
|
2007-11-22 16:10:29 -06:00
|
|
|
<pattern-item name = "Base-N Integers" style = "Base-N Integer">
|
2007-11-15 22:49:52 -06:00
|
|
|
<regex>\b(([1-3][0-9]|[1-9])\\[0-9a-zA-Z]+|0x[0-9a-fA-F]+|0[0-7]+)\b</regex>
|
|
|
|
</pattern-item>
|
|
|
|
|
2007-11-22 16:10:29 -06:00
|
|
|
<pattern-item name = "Decimal Integers" style = "Decimal">
|
2007-11-15 22:49:52 -06:00
|
|
|
<regex>\b([1-9][0-9]*|0)\b</regex>
|
|
|
|
</pattern-item>
|
|
|
|
|
|
|
|
</language>
|