lua-users home
lua-l archive

Re: [bug?] = doesn't work properly

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


On 1 May 2017 at 06:35, Tony Papadimitriou <tonyp@acm.org> wrote:
> - if (firstline && b[0] == '=') /* for compatibility with 5.2, ... */
> - lua_pushfstring(L, "return %s", b + 1); /* change '=' to 'return' */
As you might have noticed: using '=' at the start of a line is
deprecated in the 5.3 REPL.

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