On Fri, 5 Oct 2001, Gerald Richter wrote:
 
> I've done so, but it's hard work to get all the details right, so it's still
> under construction, also the results already comes very close to the tables
> in the CVS.

great!!
 
> There is one issue I like to get some feedback before continuing. C::Scan
> has used the C preprocessor, thatway it didn't had to care about C-macro
> definitions. For example there is a macro called AP_DECLARE_HOOK, which
> declares a ap_hook_foo and a ap_run_foo. My current aproach is to only use
> Parse::RecDescent and not the C preprocessor, that makes it independend of
> installed compilers etc., but I have to find out all these macros and
> reimplement them in my RecDescent grammer, to get the correct result. Also
> there are some parts inside of #if and the current aproach ignores #if at
> all. As far as I see the second point isn't so important, but the first
> maybe, because any change in these macros inside the  Apache sources must
> also be reflected in the RecDescent grammer.

if it makes things easier to run through cpp first, by all means do.
we will still ship a copy of the generated tables with the distribution,
running source_scan will be optional.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to