This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86ceb7c
)
handy.h: Add missing parentheses to macro #define
author
Karl Williamson
<khw@cpan.org>
Fri, 14 Nov 2014 02:48:14 +0000
(19:48 -0700)
committer
Karl Williamson
<khw@cpan.org>
Fri, 14 Nov 2014 20:38:18 +0000
(13:38 -0700)
These being missing caused
3d3a881c1b0eb9c855d257a2eea1f72666e30fbc
to have to be reverted. It only shows up on platforms that don't have
an isblank() libc function.
handy.h
patch
|
blob
|
blame
|
history
diff --git
a/handy.h
b/handy.h
index
445d495
..
f23f35d
100644
(file)
--- a/
handy.h
+++ b/
handy.h
@@
-1393,7
+1393,7
@@
EXTCONST U32 PL_charclass[];
#if defined(HAS_ISBLANK)
# define isBLANK_LC(c) _generic_LC(c, _CC_BLANK, isblank)
#else /* Unlike isASCII, varies if in a UTF-8 locale */
-# define isBLANK_LC(c) (
IN_UTF8_CTYPE_LOCALE) ? isBLANK_L1(c) : isBLANK(c
)
+# define isBLANK_LC(c) (
(IN_UTF8_CTYPE_LOCALE) ? isBLANK_L1(c) : isBLANK(c)
)
#endif
#define _LC_CAST U8