help-source-highlight
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-source-highlight] Processing escape sequences


From: Dario Teixeira
Subject: Re: [Help-source-highlight] Processing escape sequences
Date: Mon, 22 Feb 2010 13:14:35 -0800 (PST)

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








reply via email to

[Prev in Thread] Current Thread [Next in Thread]