From 6acd288d20309f4c96d1d8d7051b40ed49fbeb55 Mon Sep 17 00:00:00 2001 From: Tomi Jaga Date: Fri, 30 Dec 2022 15:02:41 -0500 Subject: [PATCH] Fix bug in hex() CharParser (#1) --- src/Combinators.mo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Combinators.mo b/src/Combinators.mo index 5781dfb..68ca499 100644 --- a/src/Combinators.mo +++ b/src/Combinators.mo @@ -242,7 +242,7 @@ module { sat(func (x : Char) : Bool { '0' <= x and x <= '9' or 'a' <= x and x <= 'f' or - 'A' <= x and x <= 'A'; + 'A' <= x and x <= 'F'; }); };