Re: [cc65] Control characters within .ASCIIZ

From: thefox xofeht <>
Date: 2013-01-10 07:06:50
While we're on the topic, has it ever been considered to implement
escaping for strings and character literals?

Something like:
.byte "foo \" bar"

.byte '\''

Right now, the first case of course can be worked around with:
.byte "foo ", '"', "bar"

and the second case with:
.byte .strat( "'", 0 )

But neither are very clean looking solutions. The downside to
implementing escaping now would be possibly breaking some old source
(since \ would also need to be escaped in this case).

To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Thu Jan 10 07:07:05 2013

This archive was generated by hypermail 2.1.8 : 2013-01-10 07:07:10 CET