summaryrefslogtreecommitdiff
path: root/regexec.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2017-02-15 10:17:06 -0700
committerKarl Williamson <khw@cpan.org>2017-02-15 10:20:00 -0700
commit825fcd837448d97aa5d54b90e403d99301e7b013 (patch)
treee9150761e057942ea23869d43cfd38f2891e2721 /regexec.c
parent1050723fecc0e27677c39fadbb97cb892dfd27d2 (diff)
downloadperl-825fcd837448d97aa5d54b90e403d99301e7b013.tar.gz
regexec.c: Fix comment typos
Diffstat (limited to 'regexec.c')
-rw-r--r--regexec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/regexec.c b/regexec.c
index bd7887086f..82128a7edc 100644
--- a/regexec.c
+++ b/regexec.c
@@ -6838,7 +6838,7 @@ S_regmatch(pTHX_ regmatch_info *reginfo, char *startpos, regnode *prog)
/* Some notes about MULTICALL and the context and save stacks.
*
* In something like
- * /...(?{ my $x)}...(?{ my $z)}...(?{ my $z)}.../
+ * /...(?{ my $x)}...(?{ my $y)}...(?{ my $z)}.../
* since codeblocks don't introduce a new scope (so that
* local() etc accumulate), at the end of a successful
* match there will be a SAVEt_CLEARSV on the savestack
@@ -6873,7 +6873,7 @@ S_regmatch(pTHX_ regmatch_info *reginfo, char *startpos, regnode *prog)
* *everything* SAVEd by this function is undone and then
* the context popped, rather than e.g., popping the
* context (and restoring the original PL_comppad) then
- * popping more of the savestack and restoiring a bad
+ * popping more of the savestack and restoring a bad
* PL_comppad.
*/