diff options
author | Denys Vlasenko | 2023-06-14 11:05:48 +0200 |
---|---|---|
committer | Denys Vlasenko | 2023-06-14 11:07:30 +0200 |
commit | 46dccd2ec0eafd850b2168d4dfe4e74949fd3424 (patch) | |
tree | cb853ae6459c7fd7c48fbcaa42d46056fe77c03f /shell/ash_test/ash-arith/arith-ternary_nested.right | |
parent | a02450ff0bfa45618e72fc7103ea3a8f0e7fff80 (diff) | |
download | busybox-46dccd2ec0eafd850b2168d4dfe4e74949fd3424.zip busybox-46dccd2ec0eafd850b2168d4dfe4e74949fd3424.tar.gz |
shell/math: fix nested ?: and do not parse variables in not-taken branch
Fixes arith-ternary1.tests and arith-ternary_nested.tests
function old new delta
evaluate_string 1043 1101 +58
arith_apply 1087 1137 +50
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/0 up/down: 108/0) Total: 108 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/ash_test/ash-arith/arith-ternary_nested.right')
-rw-r--r-- | shell/ash_test/ash-arith/arith-ternary_nested.right | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/shell/ash_test/ash-arith/arith-ternary_nested.right b/shell/ash_test/ash-arith/arith-ternary_nested.right new file mode 100644 index 0000000..aa54bd9 --- /dev/null +++ b/shell/ash_test/ash-arith/arith-ternary_nested.right @@ -0,0 +1 @@ +5:5 |