~ubuntu-branches/ubuntu/trusty/pyrex/trusty-proposed

« back to all changes in this revision

Viewing changes to Tools/pyrex.st

  • Committer: Bazaar Package Importer
  • Author(s): Paul Brossier
  • Date: 2006-06-14 18:21:15 UTC
  • mto: (2.1.5 edgy) (4.1.1 lenny) (1.1.7 upstream)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20060614182115-54t2s7w2azy5oyof
Tags: upstream-0.9.4.1
ImportĀ upstreamĀ versionĀ 0.9.4.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/**
0
2
* Name: pyrex
1
3
* Description: Pyrex - a Language for Writing Python Extension Modules
2
4
* Author: Markku Rossi <mtr@iki.fi>
3
5
*/
 
 
b'state pyrex extends python'
 
 
b'{'
4
6
 /* Additional keywords.
5
7
    (build-re '( NULL as cdef char ctypedef double enum extern float
6
8
    include int long private public short signed sizeof struct union
7
9
    unsigned void )) */
8
10
 /\b(NULL|as|c(def|har|typedef)|double|e(num|xtern)|float|in(clude|t)\
 
 
b'|long|p(rivate|ublic)|s(hort|i(gned|zeof)|truct)|un(ion|signed)|void)\\b/ {'
9
11
   keyword_face(true);
10
12
   language_print($0);
11
13
   keyword_face(false);
12
14
 }
 
 
b'}'
 
 
b'\x0c'
 
 
b'/*'
 
 
b'Local variables:'
 
 
b'mode: c'
 
 
b'End:'
 
 
b'*/'
 
 
b'\\ No newline at end of file'