Re: Processing escape sequences
Dario Teixeira <[email protected]> Mon, 22 Feb 2010 13:14:35 -0800 (PST)
| Newsgroups | gmane.comp.gnu.source-highlight.general |
|---|---|
| Message-ID | <[email protected]> |
Hi,
> I'm not sure I understand what the final result should be,
> but in the outlang file you can specify some regular
> expression based translations. For instance, in
> latex.outlang you have
I'll describe the problem in more detail. Suppose you have
the following C source:
void main ()
{
printf "Hello\n";
}
In the output, the "\n" sequence is translated into an actual newline,
instead of being displayed as character "\" followed by character "n".
Now, I can create a translation table to get around this problem, but
it still strikes me as a bug (or feature?) of sorts. Why is the library
performing escape expansion in the first place?
Thanks again for your time!
Best regards,
Dario Teixeira