fix some db docs
[factor/jcg.git] / basis / xmode / modes / awk.xml
blob2be33ea11856c78387d85da0ea69d300f101aaed
1 <?xml version="1.0"?>\r
2 \r
3 <!DOCTYPE MODE SYSTEM "xmode.dtd">\r
4 \r
5 <!-- AWK mode, by Matthias M. Schneider -->\r
6 <MODE>\r
7         <PROPS>\r
8                 <PROPERTY NAME="indentOpenBrackets" VALUE="{" />\r
9                 <PROPERTY NAME="indentCloseBrackets" VALUE="}" />\r
10                 <PROPERTY NAME="lineComment" VALUE="#" />\r
11                 <PROPERTY NAME="wordBreakChars" VALUE=",+-=&lt;&gt;/?^&amp;*" />\r
12         </PROPS>\r
13         <RULES ESCAPE="\" IGNORE_CASE="FALSE" HIGHLIGHT_DIGITS="TRUE">\r
14                 <SPAN TYPE="LITERAL1" NO_LINE_BREAK="TRUE">\r
15                         <BEGIN>"</BEGIN>\r
16                         <END>"</END>\r
17                 </SPAN>\r
18                 <SPAN TYPE="LITERAL1" NO_LINE_BREAK="TRUE">\r
19                         <BEGIN>'</BEGIN>\r
20                         <END>'</END>\r
21                 </SPAN>\r
23                 <EOL_SPAN TYPE="COMMENT1">#</EOL_SPAN>\r
24                 <SEQ TYPE="OPERATOR">=</SEQ>\r
25                 <SEQ TYPE="OPERATOR">!</SEQ>\r
26                 <SEQ TYPE="OPERATOR">&gt;=</SEQ>\r
27                 <SEQ TYPE="OPERATOR">&lt;=</SEQ>\r
28                 <SEQ TYPE="OPERATOR">+</SEQ>\r
29                 <SEQ TYPE="OPERATOR">-</SEQ>\r
30                 <SEQ TYPE="OPERATOR">/</SEQ>\r
31                 <SEQ TYPE="OPERATOR">*</SEQ>\r
32                 <SEQ TYPE="OPERATOR">&gt;</SEQ>\r
33                 <SEQ TYPE="OPERATOR">&lt;</SEQ>\r
34                 <SEQ TYPE="OPERATOR">%</SEQ>\r
35                 <SEQ TYPE="OPERATOR">&amp;</SEQ>\r
36                 <SEQ TYPE="OPERATOR">|</SEQ>\r
37                 <SEQ TYPE="OPERATOR">^</SEQ>\r
38                 <SEQ TYPE="OPERATOR">~</SEQ>\r
39                 <SEQ TYPE="OPERATOR">}</SEQ>\r
40                 <SEQ TYPE="OPERATOR">{</SEQ>\r
41                 <MARK_PREVIOUS AT_WHITESPACE_END="TRUE"\r
42                         MATCH_TYPE="OPERATOR"\r
43                         TYPE="LABEL">:</MARK_PREVIOUS>\r
45                 <KEYWORDS>\r
46                         <KEYWORD1>break</KEYWORD1>\r
47                         <KEYWORD1>close</KEYWORD1>\r
48                         <KEYWORD1>continue</KEYWORD1>\r
49                         <KEYWORD1>delete</KEYWORD1>\r
50                         <KEYWORD1>do</KEYWORD1>\r
51                         <KEYWORD1>else</KEYWORD1>\r
52                         <KEYWORD1>exit</KEYWORD1>\r
53                         <KEYWORD1>fflush</KEYWORD1>\r
54                         <KEYWORD1>for</KEYWORD1>\r
55                         <KEYWORD1>huge</KEYWORD1>\r
56                         <KEYWORD1>if</KEYWORD1>\r
57                         <KEYWORD1>in</KEYWORD1>\r
58                         <KEYWORD1>function</KEYWORD1>\r
59                         <KEYWORD1>next</KEYWORD1>\r
60                         <KEYWORD1>nextfile</KEYWORD1>\r
61                         <KEYWORD1>print</KEYWORD1>\r
62                         <KEYWORD1>printf</KEYWORD1>\r
63                         <KEYWORD1>return</KEYWORD1>\r
64                         <KEYWORD1>while</KEYWORD1>\r
66                         <KEYWORD2>atan2</KEYWORD2>\r
67                         <KEYWORD2>cos</KEYWORD2>\r
68                         <KEYWORD2>exp</KEYWORD2>\r
69                         <KEYWORD2>gensub</KEYWORD2>\r
70                         <KEYWORD2>getline</KEYWORD2>\r
71                         <KEYWORD2>gsub</KEYWORD2>\r
72                         <KEYWORD2>index</KEYWORD2>\r
73                         <KEYWORD2>int</KEYWORD2>\r
74                         <KEYWORD2>length</KEYWORD2>\r
75                         <KEYWORD2>log</KEYWORD2>\r
76                         <KEYWORD2>match</KEYWORD2>\r
77                         <KEYWORD2>rand</KEYWORD2>\r
78                         <KEYWORD2>sin</KEYWORD2>\r
79                         <KEYWORD2>split</KEYWORD2>\r
80                         <KEYWORD2>sprintf</KEYWORD2>\r
81                         <KEYWORD2>sqrt</KEYWORD2>\r
82                         <KEYWORD2>srand</KEYWORD2>\r
83                         <KEYWORD2>sub</KEYWORD2>\r
84                         <KEYWORD2>substr</KEYWORD2>\r
85                         <KEYWORD2>system</KEYWORD2>\r
86                         <KEYWORD2>tolower</KEYWORD2>\r
87                         <KEYWORD2>toupper</KEYWORD2>\r
89                         <KEYWORD3>BEGIN</KEYWORD3>\r
90                         <KEYWORD3>END</KEYWORD3>\r
91                         <KEYWORD3>$0</KEYWORD3>\r
92                         <KEYWORD3>ARGC</KEYWORD3>\r
93                         <KEYWORD3>ARGIND</KEYWORD3>\r
94                         <KEYWORD3>ARGV</KEYWORD3>\r
95                         <KEYWORD3>CONVFMT</KEYWORD3>\r
96                         <KEYWORD3>ENVIRON</KEYWORD3>\r
97                         <KEYWORD3>ERRNO</KEYWORD3>\r
98                         <KEYWORD3>FIELDSWIDTH</KEYWORD3>\r
99                         <KEYWORD3>FILENAME</KEYWORD3>\r
100                         <KEYWORD3>FNR</KEYWORD3>\r
101                         <KEYWORD3>FS</KEYWORD3>\r
102                         <KEYWORD3>IGNORECASE</KEYWORD3>\r
103                         <KEYWORD3>NF</KEYWORD3>\r
104                         <KEYWORD3>NR</KEYWORD3>\r
105                         <KEYWORD3>OFMT</KEYWORD3>\r
106                         <KEYWORD3>OFS</KEYWORD3>\r
107                         <KEYWORD3>ORS</KEYWORD3>\r
108                         <KEYWORD3>RLENGTH</KEYWORD3>\r
109                         <KEYWORD3>RS</KEYWORD3>\r
110                         <KEYWORD3>RSTART</KEYWORD3>\r
111                         <KEYWORD3>RT</KEYWORD3>\r
112                         <KEYWORD3>SUBSEP</KEYWORD3>\r
113                 </KEYWORDS>\r
114         </RULES>\r
115 </MODE>\r