Typos in comments and details in the manual.
This commit is contained in:
Roberto Ierusalimschy
2023-04-18 09:44:10 -03:00
parent b5c65705ca
commit e15f1f2bb7
7 changed files with 14 additions and 14 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 */