From c286fbdcd778c0d3d6b60a9f8682b413078e4639 Mon Sep 17 00:00:00 2001 From: nicm Date: Sat, 21 Aug 2021 14:06:17 +0000 Subject: Preserve command group when moving temporary list to current list being buit. --- cmd-parse.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd-parse.y') diff --git a/cmd-parse.y b/cmd-parse.y index 6d1fec7e..458092b4 100644 --- a/cmd-parse.y +++ b/cmd-parse.y @@ -871,7 +871,7 @@ cmd_parse_build_commands(struct cmd_parse_commands *cmds, cmd_list_free(current); return; } - cmd_list_move(current, add); + cmd_list_append_all(current, add); cmd_list_free(add); } if (current != NULL) { -- cgit v1.2.3