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 5, 2021
1 parent 35b5d50 commit ca3cef8
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 ca3cef8

Please sign in to comment.