This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regcomp.h: Fix comment that said the opposite of the truth
authorKarl Williamson <khw@cpan.org>
Fri, 29 Aug 2014 00:50:22 +0000 (18:50 -0600)
committerKarl Williamson <khw@cpan.org>
Wed, 3 Sep 2014 18:43:15 +0000 (12:43 -0600)
Too many negations led to this.

regcomp.h

index 68646f1..517670a 100644 (file)
--- a/regcomp.h
+++ b/regcomp.h
@@ -347,7 +347,7 @@ struct regnode_ssc {
 #define PASS1 SIZE_ONLY
 #define PASS2 (! SIZE_ONLY)
 
-/* If the bitmap doesn't fully represent what this ANYOF node can match, the
+/* If the bitmap fully represents what this ANYOF node can match, the
  * ARG is set to this special value (since 0, 1, ... are legal, but will never
  * reach this high). */
 #define ANYOF_NONBITMAP_EMPTY  ((U32) -1)