Hi, I provide some regexp to extend tcloo in default ctags (
http://ctags.sourceforge.net)
→ very simple to use
1. the ctags-regex-extension I use to parse tcloo files
this add class (c), method (m) and global variable (v) tags
ctags -a \
'--regex-tcl=/^[^#]+(::oo::)?class[[:space:]]+create[[:space:]]+([^[:space:]]+)/\2/c/e' \
'--regex-tcl=/^[^#]+method[[:space:]]+([^[:space:]]+)/\1/m/e' \
'--regex-tcl=/^[[:space:]]+variable[[:space:]]+([^[:space:]]+)/\1/v/e' \
*.tcl
2. in addition I extend the "C" just to get tcl-C-extension-function-name to be recognized as tcl-commands
this is just an example because the tcl-C-extension-function-name is specific, chosen by programmer
ctags -a \
'--regex-c=/OT_CLASS_NAME[ \t]+"([^"]+)"/\1/c/e' \
'--regex-c=/OT_ProcRet[ \t]+NS\([^_]+_([^)]+)\)/\1/m/e' \
'--regex-c=/OT_ProcRet[ \t]+NS\(([^_]+)C_([^)]+)\)/\1\2/m/e' \
*.c
3. the syntax of the --regex option in ctags is very simple
man ctags → search for --regex-<LANG>
mfg
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)