[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Bug: Literal strings in long format are not quite literal.
- From: Jim Studt <jim@...>
- Date: Fri, 2 Nov 2012 10:15:27 -0500
On Nov 2, 2012, at 10:06 AM, Rapin Patrick <rapin.patrick@gmail.com> wrote:
> On Lua 5.2 documentation, the next sentence immediately following your citation states:
> "Any kind of end-of-line sequence (carriage return, newline, carriage return followed by newline, or newline followed by carriage return) is converted to a simple newline."
Glad to see that's cleared up in 5.2.
It would be nice to have a long literal that was actually literal for when you need precise values.
e.g. you might want to embed a PNG, which has the offending pair in bytes 5 and 6, in a
machine generated source file.