Skip to content

Commit

Permalink
handy.h: #define one macro in terms of another
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
khwilliamson committed May 9, 2021
1 parent 1646e5c commit 175ec50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handy.h
Expand Up @@ -2015,7 +2015,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

Expand Down

0 comments on commit 175ec50

Please sign in to comment.