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 Apr 30, 2021
1 parent 7b40d96 commit bf3820e
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 bf3820e

Please sign in to comment.