Bug 166570

Summary: ctags(1) failed to generate tags properly
Product: Base System Reporter: jguojun
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Open ---    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description jguojun 2012-04-02 05:50:12 UTC
% 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
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:00:46 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped