Re: Pike 8.0 RC1
"Per Hedbor () @ Pike (-) importm?te f?r mailinglistan" <[email protected]>
| Newsgroups | gmane.comp.lang.pike.user |
|---|---|
| Message-ID | <[email protected]> |
>file->write(#{
> write(#[
> blah blah
>#});
>// ...
>file->write(#{
> blah blah
> #]);
>#});
>
>This should produce this in the output file:
> write(#[
> blah blah
> blah blah
> #]);
>
>But it needs to write "mis-nested" quote characters, with their
>nesting cleaned up by concatenation.
Well, that should work perfectly right now, since there is no nesting
of the same characters involved there.
The entire implementation can be found in the preprocessor, it is
fairly trivial code if you want to extend it to support nesting.
--
Per Hedbor