Skip to content
Snippets Groups Projects
Commit f53ce904 authored by Loïc Correnson's avatar Loïc Correnson
Browse files

Merge branch 'fix/blanchard/json/float' into 'master'

[lib] fix Json printer for N.

See merge request frama-c/frama-c!4904
parents 14ab3491 ff7b2730
No related branches found
No related tags found
No related merge requests found
......@@ -167,7 +167,7 @@ let rec pp fmt v = let open Format in
| `Bool b -> pp_print_bool fmt b
| `String s -> fprintf fmt "%S" s
| `Int a -> pp_print_int fmt a
| `Float f -> pp_print_float fmt f
| `Float f -> Format.fprintf fmt "%.3g" f
| `List [] -> pp_print_string fmt "[]"
| `List (e::es) ->
Format.fprintf fmt "@[<hov 2>[ %a" pp e ;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment