On Wed, 24 Nov 1999, Ilya Zakharevich wrote: > On Wed, Nov 24, 1999 at 03:10:58AM -0500, Philip Newton wrote: > > > > > So you want it to be parsed left-to-right. But you want \c\\ to be > > > > > parsed right-to-left. Choose one. > > > > > > > > Not quite. I want '\\' to be translated to \ in a previous pass, before > > > > the \c mechanism sees it. After the '\\' -> \ pass, I want left-to-right. > > > > > > Then you are advising that "\\nc" and "\cc" should be parsed the same, right? > > It should have been, of course, \\cc vs \cc OK. I see what you mean now. No, I suppose I don't want that. I suppose what I want was expressed, more or less, by Yitzchak Scott-Thoennes elsewhere in this thread. Something along the lines of having \-conversion (\n \f etc.) done in parallel with \c-conversion, and having \c\ do roughly the same thing as \c if the following character is either a backslash or the closing delimiter, e.g. "\c\\", "\c\"", qq^\c\^^. Cheers, Philip -- Philip Newton <newton@newton.digitalspace.net>Thread Previous | Thread Next