summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2013-08-02 14:13:16 -0600
committerKarl Williamson <public@khwilliamson.com>2013-08-10 22:31:08 -0600
commit17d5c697cd93c4d7887abc2cc13e3d062e4e2472 (patch)
treef3cfa1c5d8c8f56850c5962f898d97897b978210 /sv.c
parent03f05cb48515d5cc33c90b97a28e7b8111da5d32 (diff)
downloadperl-17d5c697cd93c4d7887abc2cc13e3d062e4e2472.tar.gz
regcomp.h, sv.c, utf8.c: Comment nits
Remove obsolete comment, typos in others, plus reflow one block to fit into 79 columns
Diffstat (limited to 'sv.c')
-rw-r--r--sv.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sv.c b/sv.c
index 0e4ae37f47..99b23db5a5 100644
--- a/sv.c
+++ b/sv.c
@@ -8652,13 +8652,13 @@ Perl_newSVpvn_flags(pTHX_ const char *const s, const STRLEN len, const U32 flags
new_SV(sv);
sv_setpvn(sv,s,len);
- /* This code used to a sv_2mortal(), however we now unroll the call to sv_2mortal()
- * and do what it does ourselves here.
- * Since we have asserted that flags can only have the SVf_UTF8 and/or SVs_TEMP flags
- * set above we can use it to enable the sv flags directly (bypassing SvTEMP_on), which
- * in turn means we dont need to mask out the SVf_UTF8 flag below, which means that we
- * eliminate quite a few steps than it looks - Yves (explaining patch by gfx)
- */
+ /* This code used to do a sv_2mortal(), however we now unroll the call to
+ * sv_2mortal() and do what it does ourselves here. Since we have asserted
+ * that flags can only have the SVf_UTF8 and/or SVs_TEMP flags set above we
+ * can use it to enable the sv flags directly (bypassing SvTEMP_on), which
+ * in turn means we dont need to mask out the SVf_UTF8 flag below, which
+ * means that we eliminate quite a few steps than it looks - Yves
+ * (explaining patch by gfx) */
SvFLAGS(sv) |= flags;