Re: [cc65] cr/lf translation?

Date view Thread view Subject view

From: Ullrich von Bassewitz (
Date: 2002-07-12 13:04:35


On Fri, Jul 12, 2002 at 12:55:23PM +0200, MagerValp wrote:
> I expected <, $, \r, and \n to be translated, but not \x0d, hence the
> confusion. All figured out now though, thanks.
Just as an additional explanation:

The string is passed "as a whole" from the scanner to the parser. Since
translation is sometimes needed and sometimes not (for example, the asm()
statements need an untranslated string), it would be needed to keep track of
the original form of each of the characters in a string. While this would be
doable, it needs a lot of code and has almost no advantages, since the same
thing can be achieved by other means.



Ullrich von Bassewitz                        
To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.

Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2002-07-12 13:04:36 CEST