bin/166570: ctags failed to generate tags properly
Jin Guojun
jguojun at sbcglobal.net
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
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Apr 02 04:50:12 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Jin Guojun
>Release: 8.x-R
>Organization:
>Environment:
8.3-BETA1 FreeBSD 8.3-BETA1 #0: Wed Feb 29 12:44:48 PST 2012 root at bsd-ms.scenix.com:/usr/src/sys/i386/compile/MinMax 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
>Description:
% cat << GTC > gtags.c
#define MIN_ALEN 6 // MAX LEN
typedef float FLOAT_T;
typedef enum ENUM_T {
EA = 100,
EB,
EC
} enum_t;
GTC
% 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.
>How-To-Repeat:
See description
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list