Re: Processing escape sequences
Lorenzo Bettini <[email protected]> Tue, 23 Feb 2010 15:45:32 +0100
| Newsgroups | gmane.comp.gnu.source-highlight.general |
|---|---|
| Message-ID | <[email protected]> |
Dario Teixeira wrote: > Hi, > >> 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? > > (Facepalm) Please disregard the above; after some head scratching, > I found out the library I was using for filtering the output had > a poorly documented feature that performed the escape expansion > automatically... :-) Problem found! OK, no problem, it's always nice to hear that it's not source-highlight's fault ;) cheers Lorenzo -- Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino ICQ# lbetto, 16080134 (GNU/Linux User # 158233) HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com http://www.myspace.com/supertrouperabba BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com http://www.gnu.org/software/src-highlite http://www.gnu.org/software/gengetopt http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net