bin/166570: ctags failed to generate tags properly

Jin Guojun jguojun at
Mon Apr 2 04:50:12 UTC 2012

>Number:         166570
>Category:       bin
>Synopsis:       ctags failed to generate tags properly
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 02 04:50:12 UTC 2012
>Originator:     Jin Guojun
>Release:        8.x-R
8.3-BETA1 FreeBSD 8.3-BETA1  #0: Wed Feb 29 12:44:48 PST 2012 root at  i386

8.2-RELEASE FreeBSD 8.2-RELEASE #0: Sat Mar  5 16:25:36 PST 2011     root at wolf.Belkin:/usr/src/sys/i386/compile/MinMax  i386
% cat << GTC > gtags.c
#define MIN_ALEN   6   // MAX LEN
typedef float   FLOAT_T;

typedef enum    ENUM_T {
        EA = 100,
} enum_t;

% ctags gtags.c # only enum_t TAG is generated

# comment the #define line with //, FLOAT_T TAG will gerated with incorrect content.
# completely remove the #define line, FLOAT_T can be generated properly;
# furthermore, never has a tag generated for EA, EB, and/or EC.

See description


More information about the freebsd-bugs mailing list