I am trying to create tags for C Standard Lib using Exuberant Ctags 5.8, however it seems that the headers are not completely parsed ... For example, when I generate tags for /usr/include/string.h, I get the following:
NULL /usr/include/string.h /^#define NULL /;" d
_SIZE_T /usr/include/string.h /^#define _SIZE_T$/;" d
_SSIZE_T /usr/include/string.h /^#define _SSIZE_T$/;" d
_STRING_H_ /usr/include/string.h /^#define _STRING_H_$/;" d
size_t /usr/include/string.h /^typedef __darwin_size_t size_t;$/;" t
ssize_t /usr/include/string.h /^typedef __darwin_ssize_t ssize_t;$/;" t
strerror /usr/include/string.h /^char *strerror(int) __DARWIN_ALIAS(strerror);$/;" v
Obviously, many functions are missing (strcpy, strlen, strcmp, etc.). Here's a link to the actual header file: http://pastie.org/private/lvgvtg1lmzaenidg0rvq
I just ran. ctags /usr/include/string.hAm I doing something wrong? Any help would be appreciated ...
source
share