This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Patch the C/C++ preprocessor for getting the pragma's line code informations
- From: Matteo Fioroni <matteofioroni at yahoo dot it>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 12 Oct 2006 10:47:51 +0200 (CEST)
- Subject: Patch the C/C++ preprocessor for getting the pragma's line code informations
Hi,
I need to store (e.g in a file) the informations (file
position, file name where pragma was found, the text
follow the #pragma directive in the same line) of
#pragma directive in C/C++ programs.
For do that I think it's a good idea to use the gcc
preprocessor, so How can I path it so it perform a my
function (e.g that store the informations I need in a
file) when it detects a #pragma directive?
Tahks 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