This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Get pragma's line code
- From: Matteo Fioroni <matteofioroni at yahoo dot it>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 12 Oct 2006 10:41:12 +0200 (CEST)
- Subject: Get pragma's line code
Hi,
I must get the informations (position in the file,
file where #pragma was found, text that follow the
#pragma in the line) of pragma's line code in C/C++
code.
For do that I think that it's a good idea using the
C/C++ gcc preprocessor.
How can I patch the gcc so it can execute a my
function (e.g that save the informations I need in a
file) when it detects a pragma directive?
Thanks for help!
Matteo.
__________________________________________________
Do You Yahoo!?
Poco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da tanto spazio gratuito per i tuoi file e i messaggi
http://mail.yahoo.it