From 2fd926759fe936aa06eed72e6670961f873fd976 Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Sat, 20 Oct 2012 16:18:32 -0600 Subject: [PATCH] Add comment --- regcomp.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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. */ -- 2.7.4