[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Identifting minor versions (Was: [ANN] Lua 5.3.3 (rc1) now available
- From: "Soni L." <fakedme@...>
- Date: Sun, 8 May 2016 19:54:50 -0300
On 08/05/16 05:30 PM, Jonathan Goble wrote:
On Sun, May 8, 2016 at 2:35 PM, Dirk Laurie <email@example.com> wrote:
Is there a way to distinguish between Lua 5.3.x (x<=2) and Lua
5.3.3, apart from exploiting different behaviour in gmatch/gsub?
>From the C side, lua.h contains the macro LUA_VERSION_RELEASE, now
defined as "3" (not '3'). From the Lua side, I think you'll have to
test gmatch behavior to determine which you are dealing with.
You can use the goto bug on the Lua side.
Disclaimer: these emails may be made public at any given time, with or without reason. If you don't agree with this, DO NOT REPLY.