summaryrefslogtreecommitdiff
path: root/lstrlib.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2023-04-18 09:44:10 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2023-04-18 09:44:10 -0300
commite15f1f2bb7a38a3c94519294d031e48508d65006 (patch)
tree1528b4a73da045e4d1617c1a276e66c056ba7686 /lstrlib.c
parentb5c65705ca78560cd2735778737122ea5f858bd0 (diff)
downloadlua-github-e15f1f2bb7a38a3c94519294d031e48508d65006.tar.gz
Detailsv5.4.5
Typos in comments and details in the manual.
Diffstat (limited to 'lstrlib.c')
-rw-r--r--lstrlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lstrlib.c b/lstrlib.c
index 0b4fdbb7..03167161 100644
--- a/lstrlib.c
+++ b/lstrlib.c
@@ -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 */