diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2018-01-27 22:02:05 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2018-01-27 22:02:05 +0100 |
commit | 675d24aeaff29dbce6dc116a4b7c9f6026ed5069 (patch) | |
tree | 446b740ec2d9b2fd035821a89dd876f10b27bff4 /shell/ash_test/ash-misc/func_bash1.right | |
parent | 54c2111781e15b1c70bea43593aa67207f9ea118 (diff) | |
download | busybox-675d24aeaff29dbce6dc116a4b7c9f6026ed5069.tar.gz |
ash: add LINENO support
This patch is a backport from dash of the combination of:
[SHELL] Add preliminary LINENO support
[VAR] Fix varinit ordering that broke fc
[SHELL] Improve LINENO support
function old new delta
parse_command 1604 1677 +73
calcsize 156 223 +67
copynode 196 258 +62
evalcommand 1546 1606 +60
ash_main 1046 1103 +57
lookupvar 51 106 +55
evalcase 269 317 +48
evaltree 501 547 +46
evalfor 156 200 +44
evalsubshell 156 195 +39
raise_error_syntax 11 29 +18
varinit_data 120 132 +12
evalfun 270 280 +10
funcline - 4 +4
cmdtxt 569 572 +3
trapcmd 306 304 -2
ash_vmsg 153 150 -3
startlinno 4 - -4
funcnest 4 - -4
xxreadtoken 263 250 -13
readtoken1 2645 2602 -43
------------------------------------------------------------------------------
(add/remove: 1/2 grow/shrink: 14/4 up/down: 598/-69) Total: 529 bytes
text data bss dec hex filename
932834 481 6864 940179 e5893 busybox_old
933375 481 6856 940712 e5aa8 busybox_unstripped
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/ash_test/ash-misc/func_bash1.right')
0 files changed, 0 insertions, 0 deletions