need ctags for MS (ANSI) C
S spage Page
spage at cup.portal.com
Mon Sep 17 17:47:34 AEST 1990
I want to create a tags "quick-lookup" file for a lot of header files,
so that programmers can quickly jump to the definition of any #define
symbol, typedef, macro, or function prototype in those headers.
The Unix `ctags' command with the "-t" option should be perfect for
this:
ctags -- produce tags file for vi
-t produce tags for typedef names
I'm using the `ctags' command from the (excellent) MKS Un*x-alike toolkit
for DOS, together with an awk script which finds #defines. However, the
header files are in Microsoft C, and there lies my problem. ctags can't
make head or tail of "//" comments, or function prototypes, so it
generates tons of bogus tags.
So, I'm looking for an alternative. Is there an ANSI-C compatible ctags
on the horizon? Is there another commercial or shareware DOS ctags-like
program which is ANSI-C compatible? Does "sbrowse" generate ctags-like
files? Is there a GNU "ctags"?
Another approach would be to try to hook into MSC6.0's source
browser. Does this cross-reference #defines, typedefs, and macros as
well as functions? Could it be coaxed into generating a simple tags
file?
Many, many thanks.
=S Page spage at cup.portal.Com Compu$erve 73517,3174
More information about the Comp.lang.c
mailing list