[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Backslash-newline escape as a line continuation rather than a newline?
- From: "Juris Kalnins" <juris@...>
- Date: Tue, 06 Apr 2010 09:16:04 +0300
On Sat, 03 Apr 2010 04:41:08 +0300, M Joonas Pihlaja
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.
You can just modify read_string function in llex.c to do that in your Lua.
That won't affect compatibility of produced bytecode.