diff options
author | Karl Williamson <khw@cpan.org> | 2018-01-04 12:24:43 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2018-01-04 12:38:51 -0700 |
commit | b5ce63f1fde4d6ae83853f4eb56dbcf50f0c8e4a (patch) | |
tree | 4de64257129a3649aefc82c6bbb085a1337c60e4 /regexec.c | |
parent | 8535a06fea02528fe726855a139fcbd360d1fc6e (diff) | |
download | perl-b5ce63f1fde4d6ae83853f4eb56dbcf50f0c8e4a.tar.gz |
regexec.c: Clarify comments; remove stray ';'
Diffstat (limited to 'regexec.c')
-rw-r--r-- | regexec.c | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -10267,10 +10267,12 @@ Perl_isSCRIPT_RUN(pTHX_ const U8 * s, const U8 * send, const bool utf8_target) #else /* Here there is no exact match between the character's script and the - * run's. Negative script numbers signify that the value may be any of - * several scripts, and we need to look at auxiliary information to - * make our deterimination. But if both are non-negative, we can fail - * now */ + * run's. And we've handled the special cases of scripts Unknown, + * Inherited, and Common. + * + * Negative script numbers signify that the value may be any of several + * scripts, and we need to look at auxiliary information to make our + * deterimination. But if both are non-negative, we can fail now */ if (LIKELY(script_of_char >= 0)) { const SCX_enum * search_in; PERL_UINT_FAST8_T search_in_len; @@ -10281,7 +10283,7 @@ Perl_isSCRIPT_RUN(pTHX_ const U8 * s, const U8 * send, const bool utf8_target) break; } - /* Use any previously constructed set of possible scripts. + /* Use the previously constructed set of possible scripts, if any. * */ if (intersection) { search_in = intersection; |