[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
etags
From: |
Kevin Dziulko |
Subject: |
etags |
Date: |
Tue, 17 Jun 2003 08:09:13 -0400 (EDT) |
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