projects
/
util-vserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Some minor cleanups in the Python build.
[util-vserver.git]
/
python
/
ctags-constants.awk
diff --git a/python/ctags-constants.awk
b/python/ctags-constants.awk
new file mode 100644
(file)
index 0000000..
15c4bdb
--- /dev/null
+++ b/
python/ctags-constants.awk
@@ -0,0
+1,4
@@
+(($2 == "macro" || $2 == "enumerator") && $1 ~ /^(vc|VC|CLONE)/ &&
+ $1 !~ /^VC_ATTR_/) {
+ printf " PyModule_AddIntConstant(mod, \"%s\", %s);\n", $1, $1
+}