Get pragma's line code
Matteo Fioroni
matteofioroni@yahoo.it
Thu Oct 12 09:52:00 GMT 2006
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
More information about the Gcc
mailing list