diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2023-04-18 09:44:10 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2023-04-18 09:44:10 -0300 |
commit | e15f1f2bb7a38a3c94519294d031e48508d65006 (patch) | |
tree | 1528b4a73da045e4d1617c1a276e66c056ba7686 /lstrlib.c | |
parent | b5c65705ca78560cd2735778737122ea5f858bd0 (diff) | |
download | lua-5.4.5.tar.gz lua-5.4.5.tar.bz2 lua-5.4.5.zip |
Detailsv5.4.5
Typos in comments and details in the manual.
Diffstat (limited to 'lstrlib.c')
-rw-r--r-- | lstrlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -570,7 +570,7 @@ static const char *match_capture (MatchState *ms, const char *s, int l) { | |||
570 | static const char *match (MatchState *ms, const char *s, const char *p) { | 570 | static const char *match (MatchState *ms, const char *s, const char *p) { |
571 | if (l_unlikely(ms->matchdepth-- == 0)) | 571 | if (l_unlikely(ms->matchdepth-- == 0)) |
572 | luaL_error(ms->L, "pattern too complex"); | 572 | luaL_error(ms->L, "pattern too complex"); |
573 | init: /* using goto's to optimize tail recursion */ | 573 | init: /* using goto to optimize tail recursion */ |
574 | if (p != ms->p_end) { /* end of pattern? */ | 574 | if (p != ms->p_end) { /* end of pattern? */ |
575 | switch (*p) { | 575 | switch (*p) { |
576 | case '(': { /* start capture */ | 576 | case '(': { /* start capture */ |