summaryrefslogtreecommitdiff
path: root/regcomp.c
diff options
context:
space:
mode:
authorPaul Marquess <paul.marquess@btinternet.com>1998-07-27 07:16:15 +0100
committerGurusamy Sarathy <gsar@cpan.org>1998-08-08 23:01:57 +0000
commit69cc184b71d2368b981feb90a3ed26718963ec67 (patch)
tree0ef4a8afc9eaced7c8cf0b5ae4c64def46e77c7b /regcomp.c
parentfe2c25664928177f74d1bf55c146cfd32824d5f1 (diff)
downloadperl-69cc184b71d2368b981feb90a3ed26718963ec67.tar.gz
fix bogus warning on "\x{123}"
Message-Id: <9807270534.AA11102@claudius.bfsec.bt.co.uk> Subject: [5.005_50 PATCH] Some unicode problems p4raw-id: //depot/perl@1771
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 2daa72bafd..3c047b6fdf 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -2115,7 +2115,7 @@ regclass(void)
* (POSIX Extended Character Classes, that is)
* The text between e.g. [: and :] would start
* at posixccs + 1 and stop at regcomp_parse - 2. */
- if (dowarn && !SIZE_ONLY)
+ if (PL_dowarn && !SIZE_ONLY)
warn("Character class syntax [%c %c] is reserved for future extensions", posixccc, posixccc);
PL_regcomp_parse++; /* skip over the ending ] */
}
@@ -2317,7 +2317,7 @@ regclassutf8(void)
* (POSIX Extended Character Classes, that is)
* The text between e.g. [: and :] would start
* at posixccs + 1 and stop at regcomp_parse - 2. */
- if (dowarn && !SIZE_ONLY)
+ if (PL_dowarn && !SIZE_ONLY)
warn("Character class syntax [%c %c] is reserved for future extensions", posixccc, posixccc);
PL_regcomp_parse++; /* skip over the ending ] */
}