lua-users home
lua-l archive

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

On Sat, 03 Apr 2010 04:41:08 +0300, M Joonas Pihlaja <> 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.

You can just modify read_string function in llex.c to do that in your Lua.
That won't affect compatibility of produced bytecode.