summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2013-03-15 13:44:26 -0600
committerKarl Williamson <public@khwilliamson.com>2013-05-20 08:55:52 -0600
commit14bd96d0d32197b524e28d524c167be29047a671 (patch)
treea485d842e3a154231f716668f3388663d4e04a12 /toke.c
parent583aa5c2e70fbc81cc26c7061a857579ee8a5b55 (diff)
downloadperl-14bd96d0d32197b524e28d524c167be29047a671.tar.gz
toke.c: Call base macro that does the same thing
SPACE_OR_TAB is the same thing as isBLANK, or perhaps more clearly isBLANK_A. And these latter macros only have one branch instead of 2 (but some extra masking)
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 f1d09efe7e..aace6015ca 100644
--- a/toke.c
+++ b/toke.c
@@ -137,7 +137,7 @@ static const char* const ident_too_long = "Identifier too long";
* 1999-02-27 mjd-perl-patch@plover.com */
#define isCONTROLVAR(x) (isUPPER(x) || strchr("[\\]^_?", (x)))
-#define SPACE_OR_TAB(c) ((c)==' '||(c)=='\t')
+#define SPACE_OR_TAB(c) isBLANK_A(c)
/* LEX_* are values for PL_lex_state, the state of the lexer.
* They are arranged oddly so that the guard on the switch statement