This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13d9cfd
)
regexec.c: Add comment
author
Karl Williamson
<khw@cpan.org>
Thu, 18 Jan 2018 21:07:43 +0000
(14:07 -0700)
committer
Karl Williamson
<khw@cpan.org>
Wed, 31 Jan 2018 05:12:46 +0000
(22:12 -0700)
regexec.c
patch
|
blob
|
blame
|
history
diff --git
a/regexec.c
b/regexec.c
index
b41f680
..
adeda63
100644
(file)
--- a/
regexec.c
+++ b/
regexec.c
@@
-10460,6
+10460,10
@@
Perl_isSCRIPT_RUN(pTHX_ const U8 * s, const U8 * send, const bool utf8_target, S
break;
}
+ /* For the character's script to be Unknown, it must be the first
+ * character in the sequence (for otherwise a test above would have
+ * prevented us from reaching here), and we have set the run's script
+ * to it. Nothing further to be done for this character */
if (UNLIKELY(script_of_char == SCX_Unknown)) {
script_of_run = SCX_Unknown;
continue;