pyrex.st - enscript - GNU Enscript
(HTM) git clone git://thinkerwim.org/enscript.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
pyrex.st (618B)
---
1 /**
2 * Name: pyrex
3 * Description: Pyrex - a Language for Writing Python Extension Modules
4 * Author: Markku Rossi <mtr@iki.fi>
5 */
6
7 state pyrex extends python
8 {
9 /* Additional keywords.
10 (build-re '( NULL as cdef char ctypedef double enum extern float
11 include int long private public short signed sizeof struct union
12 unsigned void )) */
13 /\b(NULL|as|c(def|har|typedef)|double|e(num|xtern)|float|in(clude|t)|long\
14 |p(rivate|ublic)|s(hort|i(gned|zeof)|truct)|un(ion|signed)|void)\b/ {
15 keyword_face(true);
16 language_print($0);
17 keyword_face(false);
18 }
19 }
20
21
22 /*
23 Local variables:
24 mode: c
25 End:
26 */