From: Karl Williamson Date: Sat, 20 Oct 2012 22:18:32 +0000 (-0600) Subject: Add comment X-Git-Tag: upstream/5.20.0~5067 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2fd926759fe936aa06eed72e6670961f873fd976;p=platform%2Fupstream%2Fperl.git Add comment --- diff --git a/regcomp.c b/regcomp.c index 307e4d5..49f5985 100644 --- a/regcomp.c +++ b/regcomp.c @@ -232,7 +232,9 @@ typedef struct RExC_state_t { #define HASWIDTH 0x01 /* Known to match non-null strings. */ /* Simple enough to be STAR/PLUS operand; in an EXACTish node must be a single - * character. Note that this is not the same thing as REGNODE_SIMPLE */ + * character. (There needs to be a case: in the switch statement in regexec.c + * for any node marked SIMPLE.) Note that this is not the same thing as + * REGNODE_SIMPLE */ #define SIMPLE 0x02 #define SPSTART 0x04 /* Starts with * or + */ #define TRYAGAIN 0x08 /* Weeded out a declaration. */