summaryrefslogtreecommitdiff
path: root/regcomp.c
diff options
context:
space:
mode:
authorChris Ball <chris@cpan.org>2002-07-26 18:49:35 +0100
committerAbhijit Menon-Sen <ams@wiw.org>2002-07-28 06:12:33 +0000
commit6a0407ee995276fc0b143630fde4e4ee2a060014 (patch)
treeddd64d0ff16803363925e4f2cb3bf2229150b8f3 /regcomp.c
parent0116f5dc667173b72bd4d2214f20e592d19f1c37 (diff)
downloadperl-6a0407ee995276fc0b143630fde4e4ee2a060014.tar.gz
Typo in regcomp.c
Message-Id: <868z3yzb6o.fsf@void.printf.net> (With additional tweak to s_reginclasslen.) p4raw-id: //depot/perl@17656
Diffstat (limited to 'regcomp.c')
-rw-r--r--regcomp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/regcomp.c b/regcomp.c
index 3055876890..cc283a6f8c 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -4224,11 +4224,11 @@ S_regclass(pTHX_ RExC_state_t *pRExC_state)
SV *rv;
/* The 0th element stores the character class description
- * in its textual form: used later (regexec.c:Perl_regclass_swatch())
+ * in its textual form: used later (regexec.c:Perl_regclass_swash())
* to initialize the appropriate swash (which gets stored in
* the 1st element), and also useful for dumping the regnode.
* The 2nd element stores the multicharacter foldings,
- * used later (regexec.c:s_reginclasslen()). */
+ * used later (regexec.c:S_reginclass()). */
av_store(av, 0, listsv);
av_store(av, 1, NULL);
av_store(av, 2, (SV*)unicode_alternate);