Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #15761

Re: C parsing help

From Nobody <nobody@nowhere.com>
Subject Re: C parsing help
Date 2012-01-11 18:29 +0000
Message-Id <pan.2012.01.11.18.29.20.672000@nowhere.com>
Newsgroups comp.lang.c
References <a9df6fd6-b144-4562-b1e5-3de0c33af76a@n30g2000yqd.googlegroups.com>
Organization Zen Internet

Show all headers | View raw


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).

Back to comp.lang.c | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

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

csiph-web