This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regcomp.h: Rmv false comments
authorKarl Williamson <public@khwilliamson.com>
Fri, 7 Feb 2014 17:57:15 +0000 (10:57 -0700)
committerKarl Williamson <public@khwilliamson.com>
Wed, 12 Feb 2014 17:52:57 +0000 (10:52 -0700)
I misread the code when I added these comments

regcomp.h

index 3c1e5f6..84aa85d 100644 (file)
--- a/regcomp.h
+++ b/regcomp.h
@@ -192,7 +192,7 @@ struct regnode_charclass {
     U8 flags;
     U8  type;
     U16 next_off;
     U8 flags;
     U8  type;
     U16 next_off;
-    U32 arg1;                          /* used as ptr in S_regclass */
+    U32 arg1;
     char bitmap[ANYOF_BITMAP_SIZE];    /* only compile-time */
 };
 
     char bitmap[ANYOF_BITMAP_SIZE];    /* only compile-time */
 };
 
@@ -201,7 +201,7 @@ struct regnode_charclass_class {
     U8 flags;                          /* ANYOF_POSIXL bit must go here */
     U8  type;
     U16 next_off;
     U8 flags;                          /* ANYOF_POSIXL bit must go here */
     U8  type;
     U16 next_off;
-    U32 arg1;                                  /* used as ptr in S_regclass */
+    U32 arg1;
     char bitmap[ANYOF_BITMAP_SIZE];            /* both compile-time */
     U32 classflags;                            /* and run-time */
 };
     char bitmap[ANYOF_BITMAP_SIZE];            /* both compile-time */
     U32 classflags;                            /* and run-time */
 };
@@ -212,7 +212,7 @@ struct regnode_charclass_posixl_fold {
     U8 flags;                          /* ANYOF_POSIXL bit must go here */
     U8  type;
     U16 next_off;
     U8 flags;                          /* ANYOF_POSIXL bit must go here */
     U8  type;
     U16 next_off;
-    U32 arg1;                          /* used as ptr in S_regclass */
+    U32 arg1;
     char bitmap[ANYOF_BITMAP_SIZE];    /* both compile-time */
     U32 classflags;                    /* and run-time */
     SV* utf8_locale_list;               /* list of code points matched by folds
     char bitmap[ANYOF_BITMAP_SIZE];    /* both compile-time */
     U32 classflags;                    /* and run-time */
     SV* utf8_locale_list;               /* list of code points matched by folds
@@ -227,7 +227,7 @@ struct regnode_ssc {
     U8 flags;                          /* ANYOF_POSIXL bit must go here */
     U8  type;
     U16 next_off;
     U8 flags;                          /* ANYOF_POSIXL bit must go here */
     U8  type;
     U16 next_off;
-    U32 arg1;                          /* used as ptr in S_regclass */
+    U32 arg1;
     char bitmap[ANYOF_BITMAP_SIZE];    /* both compile-time */
     U32 classflags;                    /* and run-time */
     SV* utf8_locale_list;               /* list of code points matched by folds
     char bitmap[ANYOF_BITMAP_SIZE];    /* both compile-time */
     U32 classflags;                    /* and run-time */
     SV* utf8_locale_list;               /* list of code points matched by folds