1 <?xml version="1.0" encoding="UTF-8"?>
3 PSPP - a program for statistical analysis.
4 Copyright (C) 2006, 2009 Free Software Foundation, Inc.
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.
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.
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/>.
21 <language id="pspp" _name="PSPP" version="2.0" _section="Sources">
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"/>
34 <default-regex-options case-sensitive="false" />
42 <context id="comment-star" style-ref="comment">
43 <start>^[\t ]*\*</start>
44 <end>^[\t ]*$|^(?=[^\t ])</end>
47 <context id="comment-keyword" style-ref="comment">
48 <start>^[\t ]*COMMENT</start>
49 <end>\.[\t ]*$|^[\t ]*$|^(?=[^\t ])</end>
52 <context id="data-block" style-ref="data-block">
53 <start>(?<=(^BEGIN DATA$))</start>
54 <end>(?=(^END DATA\.?))</end>
57 <context id="string-double" end-at-line-end="true"
63 <context id="string-single" end-at-line-end="true"
69 <context id="keywords" style-ref="keyword">
70 <keyword>ALL</keyword>
71 <keyword>AND</keyword>
79 <keyword>NOT</keyword>
82 <keyword>WITH</keyword>