summaryrefslogtreecommitdiff
path: root/pp_hot.c
diff options
context:
space:
mode:
authormauke <l.mai@web.de>2023-03-10 16:32:21 +0100
committerYves Orton <demerphq@gmail.com>2023-03-11 22:31:55 +0800
commitdf9da3a8974d3b082f402042fe817bfdba2bca37 (patch)
tree3b5d35bb59c544cc01112121ba7a9853dd087cf9 /pp_hot.c
parent3c104c002976d9f30342f43f227a382f7dcd4466 (diff)
downloadperl-df9da3a8974d3b082f402042fe817bfdba2bca37.tar.gz
Fix some typos in comments
Diffstat (limited to 'pp_hot.c')
-rw-r--r--pp_hot.c24
1 files changed, 10 insertions, 14 deletions
diff --git a/pp_hot.c b/pp_hot.c
index 2080c15546..2cf247405a 100644
--- a/pp_hot.c
+++ b/pp_hot.c
@@ -3546,10 +3546,9 @@ PP(pp_helem)
MAGIC *mg;
HV *stash;
- /* If we can determine whether the element exists,
- * Try to preserve the existenceness of a tied hash
+ /* Try to preserve the existence of a tied hash
* element by using EXISTS and DELETE if possible.
- * Fallback to FETCH and STORE otherwise. */
+ * Fall back to FETCH and STORE otherwise. */
if (SvCANEXISTDELETE(hv))
preeminent = hv_exists_ent(hv, keysv, 0);
}
@@ -3632,7 +3631,7 @@ S_softref2xv_lite(pTHX_ SV *const sv, const char *const what,
* op_aux points to an array of unions of UV / IV / SV* / PADOFFSET.
* Each of these either contains a set of actions, or an argument, such as
* an IV to use as an array index, or a lexical var to retrieve.
- * Several actions re stored per UV; we keep shifting new actions off the
+ * Several actions are stored per UV; we keep shifting new actions off the
* one UV, and only reload when it becomes zero.
*/
@@ -3647,7 +3646,7 @@ PP(pp_multideref)
PL_multideref_pc = items;
while (1) {
- /* there are three main classes of action; the first retrieve
+ /* there are three main classes of action; the first retrieves
* the initial AV or HV from a variable or the stack; the second
* does the equivalent of an unrolled (/DREFAV, rv2av, aelem),
* the third an unrolled (/DREFHV, rv2hv, helem).
@@ -3791,10 +3790,9 @@ PP(pp_multideref)
MAGIC *mg;
HV *stash;
- /* If we can determine whether the element exist,
- * Try to preserve the existenceness of a tied array
+ /* Try to preserve the existence of a tied array
* element by using EXISTS and DELETE if possible.
- * Fallback to FETCH and STORE otherwise. */
+ * Fall back to FETCH and STORE otherwise. */
if (SvCANEXISTDELETE(av))
preeminent = av_exists(av, elem);
}
@@ -3984,10 +3982,9 @@ PP(pp_multideref)
MAGIC *mg;
HV *stash;
- /* If we can determine whether the element exist,
- * Try to preserve the existenceness of a tied hash
+ /* Try to preserve the existence of a tied hash
* element by using EXISTS and DELETE if possible.
- * Fallback to FETCH and STORE otherwise. */
+ * Fall back to FETCH and STORE otherwise. */
if (SvCANEXISTDELETE(hv))
preeminent = hv_exists_ent(hv, keysv, 0);
}
@@ -5651,10 +5648,9 @@ PP(pp_aelem)
MAGIC *mg;
HV *stash;
- /* If we can determine whether the element exist,
- * Try to preserve the existenceness of a tied array
+ /* Try to preserve the existence of a tied array
* element by using EXISTS and DELETE if possible.
- * Fallback to FETCH and STORE otherwise. */
+ * Fall back to FETCH and STORE otherwise. */
if (SvCANEXISTDELETE(av))
preeminent = av_exists(av, elem);
}