summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/perl/regcomp.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2005-01-15 21:30:44 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2005-01-15 21:30:44 +0000
commitc2276cd9a1ad823a3a292bd9ea5d0475bb983737 (patch)
treed3828d43e8271c783c6683783ad627b4232d3672 /gnu/usr.bin/perl/regcomp.c
parentc30a36e0c140753f3f773b400f5dbc777b344b8a (diff)
sync in-tree perl with 5.8.6
Diffstat (limited to 'gnu/usr.bin/perl/regcomp.c')
-rw-r--r--gnu/usr.bin/perl/regcomp.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/gnu/usr.bin/perl/regcomp.c b/gnu/usr.bin/perl/regcomp.c
index 62e5729b425..0762f551d30 100644
--- a/gnu/usr.bin/perl/regcomp.c
+++ b/gnu/usr.bin/perl/regcomp.c
@@ -5,6 +5,16 @@
* "A fair jaw-cracker dwarf-language must be." --Samwise Gamgee
*/
+/* This file contains functions for compiling a regular expression. See
+ * also regexec.c which funnily enough, contains functions for executing
+ * a regular expression.
+ *
+ * This file is also copied at build time to ext/re/re_comp.c, where
+ * it's built with -DPERL_EXT_RE_BUILD -DPERL_EXT_RE_DEBUG -DPERL_EXT.
+ * This causes the main functions to be compiled under new names and with
+ * debugging support added, which makes "use re 'debug'" work.
+ */
+
/* NOTE: this is derived from Henry Spencer's regexp code, and should not
* confused with the original package (see point 3 below). Thanks, Henry!
*/