[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Backslash-newline escape as a line continuation rather than a newline?
- From: Roberto Ierusalimschy <roberto@...>
- Date: Sat, 3 Apr 2010 09:47:44 -0300
> In Lua 5.2 string literals could the backslash-newline escape code
> swallow the newline character rather than embedding it into the
> string? This would be similar to C's continuation lines.
Certainly that was a bad design decision. But changing it now would
create the worst type of incompatibility: no compilation errors, no
run-time errors, only very subtle bugs in several programs.
-- Roberto