lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Put it on the 6.0 list then? :P

On Sat, 03 Apr 2010 06:47:44 -0600, Roberto Ierusalimschy <roberto@inf.puc-rio.br> wrote:

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