This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]