lua-users home
lua-l archive

Re: Bug: Literal strings in long format are not quite literal.

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


On 11/3/12, Paul K <paulclinger@yahoo.com> wrote:
> -- eof.lua
> print(("print %q"):format("1\n20263円"))
>
>> lua eof.lua | lua
> returns "unfinished string near '<eof>'".
Hi Paul,
Sorry, I can't reproduce the issue.
It works fine for me on Linux (luajit)
and Windows (luajit and vanilla Lua 5.2).

AltStyle によって変換されたページ (->オリジナル) /