diff options
author | Karl Williamson <khw@cpan.org> | 2021-03-18 07:28:38 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2022-06-12 09:50:10 -0600 |
commit | 837a524d9a79be513109b0e53dd6151bf2defb10 (patch) | |
tree | 1662cfd864115afda22827f57ce5cc9e1518286f /handy.h | |
parent | cfe7bb26390e8266d86ba803a4e68aaaf06b32f6 (diff) | |
download | perl-837a524d9a79be513109b0e53dd6151bf2defb10.tar.gz |
handy.h: #define one macro in terms of another
These two macros are equivalent as folding and lowercasing are the same
for this input domain. Better to say so rather than to replicate the
definitions.
Diffstat (limited to 'handy.h')
-rw-r--r-- | handy.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2031,7 +2031,7 @@ END_EXTERN_C # define toLOWER_LC(c) (isascii(c) ? tolower(c) : (c)) # define toUPPER_LC(c) (isascii(c) ? toupper(c) : (c)) -# define toFOLD_LC(c) (isascii(c) ? tolower(c) : (c)) +# define toFOLD_LC(c) toLOWER_LC(c) #endif |