From 14bd96d0d32197b524e28d524c167be29047a671 Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Fri, 15 Mar 2013 13:44:26 -0600 Subject: 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) --- toke.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toke.c') 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 -- cgit v1.2.1