Inline::C::ParseRegExp fails with the following C code. The code is=20

Code which plays complex preprocessing games with its declarations can
only be handled by doing the preprocessing.  (Actually, if one has a
fully backtracking parser, one can puzzle through almost all common
preprocessor idioms, but that's a different topic).

You might try appending less baroque declarations for the things you
care about.

For local use, I find it useful to have a simple preprocessor variant
that preprocess some code, but returns only that section of code,
without the headers.  (Eg, find, extract and apply #defines).  But I
don't know of any widely available equivalent.  Perhaps someone needs
to write a perl module...

Mitchell Charity


   To: inline[at]perl.org
   Subject: Inline::C::ParseRegExp fails
   Date: Sun, 20 Oct 2002 09:19:36 +0200
   Message-ID: <[EMAIL PROTECTED]>
   From: nadim[at]khemir.net (Nadim)

   Inline::C::ParseRegExp fails with the following C code. The code is=20
   generated and I didn't expect Inline::C::ParseRegExp to gob it, even=20
   though I hoped so.

   The module wasn't signed so I couldn't join the author directly. Shall I=20
   handle the error alone? is there someone that wants to help?

   Nadim.

Reply via email to