diff options
Diffstat (limited to 'internal.h')
-rw-r--r-- | internal.h | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -79,13 +79,15 @@ case '8': \ case '9': -#define CASE_HEX_ALPHA_CHARS \ +#define CASE_HEX_LC_ALPHA_CHARS \ case 'a': \ case 'b': \ case 'c': \ case 'd': \ case 'e': \ - case 'f': \ + case 'f': + +#define CASE_HEX_UC_ALPHA_CHARS \ case 'A': \ case 'B': \ case 'C': \ @@ -93,6 +95,10 @@ case 'E': \ case 'F': +#define CASE_HEX_ALPHA_CHARS \ + CASE_HEX_LC_ALPHA_CHARS \ + CASE_HEX_UC_ALPHA_CHARS \ + // // rfc7230, Appendix B // https://tools.ietf.org/html/rfc7230 |