unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* etags
@ 2003-06-17 12:09 Kevin Dziulko
  0 siblings, 0 replies; 5+ messages in thread
From: Kevin Dziulko @ 2003-06-17 12:09 UTC (permalink / 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

^ permalink raw reply	[flat|nested] 5+ messages in thread
[parent not found: <mailman.8073.1055852045.21513.help-gnu-emacs@gnu.org>]
[parent not found: <mailman.8237.1056026853.21513.help-gnu-emacs@gnu.org>]
* etags
@ 2004-10-06  2:18 moheb missaghi
  0 siblings, 0 replies; 5+ messages in thread
From: moheb missaghi @ 2004-10-06  2:18 UTC (permalink / raw)


Hi, I created a tags file using etags *.el */*.el in the lisp dir. find-tag
works when emacs is fired for just 1 time and then I get:

wrong type argument: stringp...

Any idea? thx.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-10-06  2:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-17 12:09 etags Kevin Dziulko
     [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

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).