From 9f842e6dcf83095f463fe7b26c575bc85f62baca Mon Sep 17 00:00:00 2001 From: John Estabrook Date: Mon, 21 Aug 2023 14:23:45 -0500 Subject: T5500: remove empty braces after valueless node --- src/config_tree.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config_tree.ml b/src/config_tree.ml index a5698dc..b993836 100644 --- a/src/config_tree.ml +++ b/src/config_tree.ml @@ -161,7 +161,7 @@ struct let render_values ?(ord_val=false) indent_str name values = match values with - | [] -> Printf.sprintf "%s%s { }\n" indent_str name + | [] -> Printf.sprintf "%s%s\n" indent_str name | [v] -> Printf.sprintf "%s%s \"%s\"\n" indent_str name (Util.escape_string v) | _ -> let values = -- cgit v1.2.3