summaryrefslogtreecommitdiff
path: root/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'internal.h')
-rw-r--r--internal.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/internal.h b/internal.h
index 994b208..1e2733a 100644
--- a/internal.h
+++ b/internal.h
@@ -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