Merge branch 'master' into nextversion

This commit is contained in:
Roberto Ierusalimschy
2023-06-22 11:41:48 -03:00
33 changed files with 308 additions and 208 deletions

View File

@@ -571,7 +571,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 */