Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c > #15726 > unrolled thread
| Started by | victor <ramkumar2579@gmail.com> |
|---|---|
| First post | 2012-01-10 22:29 -0800 |
| Last post | 2012-01-11 18:29 +0000 |
| Articles | 3 — 3 participants |
Back to article view | Back to comp.lang.c
C parsing help victor <ramkumar2579@gmail.com> - 2012-01-10 22:29 -0800
Re: C parsing help Keith Thompson <kst-u@mib.org> - 2012-01-10 22:59 -0800
Re: C parsing help Nobody <nobody@nowhere.com> - 2012-01-11 18:29 +0000
| From | victor <ramkumar2579@gmail.com> |
|---|---|
| Date | 2012-01-10 22:29 -0800 |
| Subject | C parsing help |
| Message-ID | <a9df6fd6-b144-4562-b1e5-3de0c33af76a@n30g2000yqd.googlegroups.com> |
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.
[toc] | [next] | [standalone]
| From | Keith Thompson <kst-u@mib.org> |
|---|---|
| Date | 2012-01-10 22:59 -0800 |
| Message-ID | <lnr4z63esg.fsf@nuthaus.mib.org> |
| In reply to | #15726 |
victor <ramkumar2579@gmail.com> writes:
> 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.
--
Keith Thompson (The_Other_Keith) kst-u@mib.org <http://www.ghoti.net/~kst>
Will write code for food.
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"
[toc] | [prev] | [next] | [standalone]
| From | Nobody <nobody@nowhere.com> |
|---|---|
| Date | 2012-01-11 18:29 +0000 |
| Message-ID | <pan.2012.01.11.18.29.20.672000@nowhere.com> |
| In reply to | #15726 |
On Tue, 10 Jan 2012 22:29:58 -0800, victor wrote: > 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).
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.c
csiph-web