C parsing help

V

victor

Hi,
Please help. dont know if i am posting on the right group.
when gcc parses declarations in a C file, is it possible to make
gcc call some function hooks?
Like if it successfully parsed a structure , it should call a
callback. with the structure it has parsed.
Regards.
 
K

Keith Thompson

victor said:
Please help. dont know if i am posting on the right group.
when gcc parses declarations in a C file, is it possible to make
gcc call some function hooks?
Like if it successfully parsed a structure , it should call a
callback. with the structure it has parsed.

You might get better answers in gnu.gcc.help.
 
N

Nobody

when gcc parses declarations in a C file, is it possible to make
gcc call some function hooks?
Like if it successfully parsed a structure , it should call a
callback. with the structure it has parsed.

Not without modifying gcc.

How would you define these functions such that gcc could execute them? gcc
is a C compiler, not a C interpreter (or any kind of interpreter).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,763
Messages
2,569,562
Members
45,038
Latest member
OrderProperKetocapsules

Latest Threads

Top