Attachment 'pyrex-mode.el'

Download

   1 ;;;; `Pyrex' mode.
   2 
   3 (add-to-list 'auto-mode-alist '("\\.pyx\\'" . pyrex-mode))
   4 
   5 (define-derived-mode pyrex-mode python-mode "Pyrex"
   6   (font-lock-add-keywords
   7    nil
   8    `((,(concat "\\<\\(NULL"
   9 	       "\\|c\\(def\\|har\\|typedef\\)"
  10 	       "\\|e\\(num\\|xtern\\)"
  11 	       "\\|float"
  12 	       "\\|in\\(clude\\|t\\)"
  13 	       "\\|object\\|public\\|struct\\|type\\|union\\|void"
  14 	       "\\)\\>")
  15       1 font-lock-keyword-face t))))

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2008-06-29 22:37:57, 34.1 KB) [[attachment:doctest-mode.el]]
  • [get | view] (2008-06-29 22:38:05, 0.4 KB) [[attachment:pyrex-mode.el]]
  • [get | view] (2008-06-29 22:38:13, 2.4 KB) [[attachment:pyrex-mode.elc]]
  • [get | view] (2008-06-29 22:41:02, 141.2 KB) [[attachment:python-mode.el]]
  • [get | view] (2008-06-29 22:41:13, 108.9 KB) [[attachment:python-mode.elc]]
  • [get | view] (2008-06-29 22:38:19, 15.3 KB) [[attachment:sage.el]]
  • [get | view] (2008-06-29 22:38:23, 7.9 KB) [[attachment:sage.elc]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.