hush: improve set -x: make "+++" indent level increase in `cmd` and eval.
authorDenys Vlasenko <vda.linux@googlemail.com>
Thu, 26 Jul 2018 13:21:50 +0000 (15:21 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Thu, 26 Jul 2018 13:21:50 +0000 (15:21 +0200)
commit7c5f18a3bab721cdfa515220ad8d481643aaae23
treedf44c85afeae3ad0b247223f0641eef534220f21
parent871bd2abaccd042cba757831fc4461806e8f446d
hush: improve set -x: make "+++" indent level increase in `cmd` and eval.

function                                             old     new   delta
dump_cmd_in_x_mode                                   126     144     +18
run_pipe                                            1873    1883     +10
builtin_eval                                         119     127      +8
expand_vars_to_list                                 1100    1103      +3
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 4/0 up/down: 39/0)               Total: 39 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/hush.c