This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regcomp.c: Clarify comment
authorKarl Williamson <khw@cpan.org>
Thu, 25 Jan 2018 20:36:25 +0000 (13:36 -0700)
committerKarl Williamson <khw@cpan.org>
Thu, 25 Jan 2018 20:53:10 +0000 (13:53 -0700)
regcomp.c

index c4ad1d1..198f291 100644 (file)
--- a/regcomp.c
+++ b/regcomp.c
@@ -20604,9 +20604,9 @@ S_put_charclass_bitmap_innards(pTHX_ SV *sv,
      *      was not resolved at the time of the regex compilation (under /u)
      *  'only_utf8_locale_invlist' is an inversion list of the code points that
      *      are valid only if the runtime locale is a UTF-8 one; NULL if none
-     *  'node' is the regex pattern node.  It is needed only when the above two
-     *      parameters are not null, and is passed so that this routine can
-     *      tease apart the various reasons for them.
+     *  'node' is the regex pattern ANYOF node.  It is needed only when the
+     *      above two parameters are not null, and is passed so that this
+     *      routine can tease apart the various reasons for them.
      *  'force_as_is_display' is TRUE if this routine should definitely NOT try
      *      to invert things to see if that leads to a cleaner display.  If
      *      FALSE, this routine is free to use its judgment about doing this.