unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kevin Dziulko <dziulko@klaatu.canisius.edu>
Subject: etags
Date: Tue, 17 Jun 2003 08:09:13 -0400 (EDT)	[thread overview]
Message-ID: <Pine.LNX.4.44.0306170801350.11504-100000@klaatu.canisius.edu> (raw)

Hello

I am looking for a way to get a list of all user defined #define's in some 
C code that actaully get used.  I was reading up a little on etags, and I 
think it might help me with this.  Has anyone done or seen anything close 
to this?

Example:
#include <stdio.h>
#define MSG1 "Hello, world!"
#define CONST1 42

int main ()
{
    (void) printf("\n%s\n", MSG1);

    return 0;
}

/////////////////

Idealy, I would want something to say:

Line 7: MSG1


Perhaps this isn't the best place to post this. If you know a better 
place, please let me know.

Thanks a lot!
Kevin

             reply	other threads:[~2003-06-17 12:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-17 12:09 Kevin Dziulko [this message]
     [not found] <mailman.8073.1055852045.21513.help-gnu-emacs@gnu.org>
2003-06-19  9:36 ` etags Alan Mackenzie
2003-06-19 12:47   ` etags Kevin Dziulko
     [not found] <mailman.8237.1056026853.21513.help-gnu-emacs@gnu.org>
2003-06-19 17:42 ` etags Peter Lee
  -- strict thread matches above, loose matches on Subject: below --
2004-10-06  2:18 etags moheb missaghi

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=Pine.LNX.4.44.0306170801350.11504-100000@klaatu.canisius.edu \
    --to=dziulko@klaatu.canisius.edu \
    /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).