Update lua 5.4.6 rc1

This commit is contained in:
Cloud Wu
2023-05-08 19:08:11 +08:00
parent d56cf80f95
commit 8b55660274
21 changed files with 876 additions and 100 deletions

View File

@@ -570,7 +570,7 @@ static const char *match_capture (MatchState *ms, const char *s, int l) {
static const char *match (MatchState *ms, const char *s, const char *p) {
if (l_unlikely(ms->matchdepth-- == 0))
luaL_error(ms->L, "pattern too complex");
init: /* using goto's to optimize tail recursion */
init: /* using goto to optimize tail recursion */
if (p != ms->p_end) { /* end of pattern? */
switch (*p) {
case '(': { /* start capture */