On Fri, 12 Dec 2003, Norman Gray wrote:
> What makes it more tractable in this case is that for our purposes you'd
> only have to handle #include, #define and #if (and #ifdef, #else, etc),
> and substitutions on #if lines, so you don't actually have to lex the
> code at all.
Good point, you're right - if it is just conditional inclusion on a
block-of-lines-at-a-time basis, it probably is a pretty perlable problem.
--
Mark Taylor Starlink Programmer Physics, Bristol University, UK
[log in to unmask] +44-117-928-8776 http://www.star.bris.ac.uk/~mbt/
|