HEX
Server: Apache/2.4.34 (Red Hat) OpenSSL/1.0.2k-fips
System: Linux WORDPRESS 3.10.0-1160.118.1.el7.x86_64 #1 SMP Thu Apr 4 03:33:23 EDT 2024 x86_64
User: digital (1020)
PHP: 7.2.24
Disabled: NONE
Upload Files
File: //usr/share/enscript/hl/pyrex.st
/**
 * Name: pyrex
 * Description: Pyrex - a Language for Writing Python Extension Modules
 * Author: Markku Rossi <[email protected]>
 */

state pyrex extends python
{
  /* Additional keywords.
     (build-re '( NULL as cdef char ctypedef double enum extern float
     include int long private public short signed sizeof struct union
     unsigned void )) */
  /\b(NULL|as|c(def|har|typedef)|double|e(num|xtern)|float|in(clude|t)|long\
|p(rivate|ublic)|s(hort|i(gned|zeof)|truct)|un(ion|signed)|void)\b/ {
    keyword_face(true);
    language_print($0);
    keyword_face(false);
  }
}


/*
Local variables:
mode: c
End:
*/