lua-users home
lua-l archive

Re: lua 5.3.2 introduced a bug related to coroutines

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


It there going to be an official patch for this one?
-----Original Message----- From: Roberto Ierusalimschy
The immediate solution might be to add
gm->ms.L = L
Seems right.
to strlib.c:gmatch_aux. I haven't tested it. It might result in wrong error
That was the whole point of the original 'MatchState': to reduce the
number of arguments among the several routines in the regex engine. It
was then hijacked by 'gmatch', which created this bug.
-- Roberto

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