From 59f9aca938ffd409471d2d5fef773ce4122c3e8a Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Mon, 1 Mar 2021 14:43:46 -0800 Subject: [PATCH] ircd::json: Relax fractional precision lexing. --- ircd/json.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ircd/json.cc b/ircd/json.cc index 9fbd434ec..32cbef7e3 100644 --- a/ircd/json.cc +++ b/ircd/json.cc @@ -88,7 +88,7 @@ ircd::json::parser const rule<> number_frac { - lit('.') >> repeat(1, 18)[char_("0-9")] >> -char_("1-9") + lit('.') >> repeat(1, 19)[char_("0-9")] >> -char_("1-9") ,"fraction" };