summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
authorGisle Aas <gisle@activestate.com>2006-01-04 10:44:48 +0000
committerGisle Aas <gisle@activestate.com>2006-01-04 10:44:48 +0000
commit2efa8cc776fec30c63893949ea1f5a5eb0cd3564 (patch)
treef3390c091acde96bc2307f54e56bb248aa761ed4 /toke.c
parent834268b87a8eb670d899a13106c8dfcdfc7c9b66 (diff)
downloadperl-2efa8cc776fec30c63893949ea1f5a5eb0cd3564.tar.gz
Introduce STR_WITH_LEN macro in the form suggested by Chip.
p4raw-id: //depot/perl@26635
Diffstat (limited to 'toke.c')
-rw-r--r--toke.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toke.c b/toke.c
index 6a454ca0da..35d2639a99 100644
--- a/toke.c
+++ b/toke.c
@@ -460,7 +460,7 @@ S_missingterm(pTHX_ char *s)
#define FEATURE_IS_ENABLED(name) \
((0 != (PL_hints & HINT_LOCALIZE_HH)) \
- && feature_is_enabled((name ""), sizeof(name)-1))
+ && feature_is_enabled(STR_WITH_LEN(name)))
/*
* S_feature_is_enabled
* Check whether the named feature is enabled.