find-dialog.c: Replace exp10 with our own integer version
[pspp] / src / ui / gui / pspp.lang
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3    PSPP - a program for statistical analysis.
4    Copyright (C) 2006, 2009 Free Software Foundation, Inc.
5
6    This program is free software: you can redistribute it and/or modify
7    it under the terms of the GNU General Public License as published by
8    the Free Software Foundation, either version 3 of the License, or
9    (at your option) any later version.
10
11    This program is distributed in the hope that it will be useful,
12    but WITHOUT ANY WARRANTY; without even the implied warranty of
13    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14    GNU General Public License for more details.
15
16    You should have received a copy of the GNU General Public License
17    along with this program.  If not, see <http://www.gnu.org/licenses/>.
18 -->
19
20
21 <language id="pspp" _name="PSPP" version="2.0" _section="Sources">
22
23   <styles>
24     <style id="string" _name="String" map-to="def:string"/>
25     <style id="escaped-character" _name="Escaped Character" map-to="def:special-char"/>
26     <style id="data-block" _name="Data Block" map-to="def:preprocessor"/>
27     <style id="included-file" _name="Included File" map-to="def:string"/>
28     <style id="char" _name="Character" map-to="def:character"/>
29     <style id="keyword" _name="Keyword" map-to="def:keyword"/>
30     <style id="type" _name="Data Type" map-to="def:type"/>
31     <style id="comment" _name="Comment" map-to="def:comment"/>
32   </styles>
33
34   <default-regex-options case-sensitive="false" />
35
36   <definitions>
37
38     <context id="pspp">
39
40       <include>
41
42         <context id="comment-star" style-ref="comment">
43           <start>^[\t ]*\*</start>
44           <end>^[\t ]*$|^(?=[^\t ])</end>
45         </context>
46
47         <context id="comment-keyword" style-ref="comment">
48           <start>^[\t ]*COMMENT</start>
49           <end>\.[\t ]*$|^[\t ]*$|^(?=[^\t ])</end>
50         </context>
51
52         <context id="data-block" style-ref="data-block">
53           <start>(?&lt;=(^BEGIN DATA$))</start>
54           <end>(?=(^END DATA\.?))</end>
55         </context>
56
57         <context id="string-double" end-at-line-end="true"
58                  style-ref="string">
59           <start>"</start>
60           <end>"</end>
61         </context>
62
63         <context id="string-single" end-at-line-end="true"
64                  style-ref="string">
65           <start>'</start>
66           <end>'</end>
67         </context>
68
69         <context id="keywords" style-ref="keyword">
70           <keyword>ALL</keyword>
71           <keyword>AND</keyword>
72           <keyword>BY</keyword>
73           <keyword>EQ</keyword>
74           <keyword>GE</keyword>
75           <keyword>GT</keyword>
76           <keyword>LE</keyword>
77           <keyword>LT</keyword>
78           <keyword>NE</keyword>
79           <keyword>NOT</keyword>
80           <keyword>OR</keyword>
81           <keyword>TO</keyword>
82           <keyword>WITH</keyword>
83         </context>
84
85       </include>
86     </context>
87   </definitions>
88
89
90 </language>