fix some db docs
[factor/jcg.git] / basis / xmode / modes / swig.xml
blobac5a23a1a98931a36b2f8caa210d4bcd1eba3780
1 <?xml version="1.0"?>\r
2 \r
3 <!DOCTYPE MODE SYSTEM "xmode.dtd">\r
4 \r
5 <MODE>\r
6         <PROPS>\r
7                 <PROPERTY NAME="commentStart" VALUE="/*" />\r
8                 <PROPERTY NAME="commentEnd" VALUE="*/" />\r
9                 <PROPERTY NAME="lineComment" VALUE="//" />\r
10                 <PROPERTY NAME="wordBreakChars" VALUE=",+-=&lt;&gt;/?^&amp;*" />\r
12                 <!-- Auto indent -->\r
13                 <PROPERTY NAME="indentOpenBrackets" VALUE="{" />\r
14                 <PROPERTY NAME="indentCloseBrackets" VALUE="}" />\r
15                 <PROPERTY NAME="indentNextLine"\r
16                         VALUE="\s*(((if|while)\s*\(|else\s*|else\s+if\s*\(|for\s*\(.*\))[^{;]*)" />\r
17                 <!-- set this to 'true' if you want to use GNU coding style -->\r
18                 <PROPERTY NAME="doubleBracketIndent" VALUE="false" />\r
19         </PROPS>\r
20         <RULES ESCAPE="\"\r
21                 IGNORE_CASE="FALSE"\r
22                 HIGHLIGHT_DIGITS="TRUE"\r
23                 DIGIT_RE="(0x[\p{XDigit}]+[lL]?|[\p{Digit}]+(e[\p{Digit}]*)?[lLdDfF]?)">\r
25                 <SPAN TYPE="LITERAL3">\r
26                         <BEGIN>%{</BEGIN>\r
27                         <END>%}</END>\r
28                 </SPAN>\r
30                 <!-- swig directive -->\r
31                 <MARK_FOLLOWING AT_WORD_START="TRUE" TYPE="KEYWORD4">%</MARK_FOLLOWING>\r
33                 <IMPORT DELEGATE="c::MAIN"/>\r
34     </RULES>\r
35 </MODE>\r