From bfea0319aa07ad2c921ba29ba216e921d65f2ed1 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Tue, 9 Jan 2024 00:23:16 +0000 Subject: Integer support in persistence Splits bool and arithmatic types, pass arithmatic values as string views from JSON and parse according to the target type. --- lib/jsonParse.ll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/jsonParse.ll') diff --git a/lib/jsonParse.ll b/lib/jsonParse.ll index 8029830..100bc46 100644 --- a/lib/jsonParse.ll +++ b/lib/jsonParse.ll @@ -52,7 +52,7 @@ text [^\\\"]* } {number} { - pushNumber(std::strtof(YYText(), NULL)); + pushNumber(YYText()); yy_pop_state(); } -- cgit v1.2.3