Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1014)

Unified Diff: third_party/cython/src/Tools/cython.st

Issue 385073004: Adding cython v0.20.2 in third-party. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reference cython dev list thread. Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/cython/src/Tools/cystdlib.py ('k') | third_party/cython/src/Tools/cython-epydoc.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/cython/src/Tools/cython.st
diff --git a/third_party/cython/src/Tools/cython.st b/third_party/cython/src/Tools/cython.st
new file mode 100644
index 0000000000000000000000000000000000000000..d4fe4ecffea5df28ac6864b9142ae8017635e56b
--- /dev/null
+++ b/third_party/cython/src/Tools/cython.st
@@ -0,0 +1 @@
+/**
* Name: pyrex
* Description: Pyrex - a Language for Writing Python Extension Modules
* Author: Markku Rossi <mtr@iki.fi>
*/
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:
*/
« no previous file with comments | « third_party/cython/src/Tools/cystdlib.py ('k') | third_party/cython/src/Tools/cython-epydoc.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698