Re: lua 5.3.2 introduced a bug related to coroutines
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: lua 5.3.2 introduced a bug related to coroutines
- From: <tonyp@...>
- Date: 2016年3月23日 01:50:54 +0200
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