From: "art" <abrady0@gmail.com>
Subject: etags excluding one-line typedefs
Date: 1 Mar 2005 10:57:00 -0800 [thread overview]
Message-ID: <1109703420.576241.323740@z14g2000cwz.googlegroups.com> (raw)
Hello,
In the project we're doing I want to have etags exclude one-line struct
typedefs:
typedef struct Foo Foo;
but I don't want to exclude anonymous struct typedefs, or other
typedefs:
typedef struct
{
} Foo;
This option excludes all typedefs:
etags -R --C-kinds=-t --langmap=c:+.h
and the --regex option doesn't exclude already matching tags, it just
extends them:
etags --regex-C='/typedef.*;/xxx/' testtags.*
will generate:
typedef struct _Foo Foo;\x7fxxx\x016,195
typedef struct _Foo Foo;\x7fFoo\x016,195
typedef struct _Bar Bar;\x7fxxx\x017,221
typedef struct _Bar Bar;\x7fBar\x017,221
So I'm at a loss as to how to do this. Can etags be extended in this
way?
Also, here is etags version:
$ etags --version
Exuberant Ctags 5.5, Copyright (C) 1996-2003 Darren Hiebert
Compiled: Jun 5 2003, 10:00:19
Addresses: <dhiebert@users.sourceforge.net>,
http://ctags.sourceforge.net
Optional compiled features: +wildcards, +regex, +internal-sort
reply other threads:[~2005-03-01 18:57 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1109703420.576241.323740@z14g2000cwz.googlegroups.com \
--to=abrady0@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).