aboutsummaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-parsing
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2016-09-30 14:18:34 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2016-09-30 14:46:41 +0200
commit6a0710e954d913e1096893bf3d037667420db3be (patch)
treeb8cd344b17f44319013a904003920983f2396e6e /shell/hush_test/hush-parsing
parented6ff5edfc17d0d84fc4935a5d1797d35f462062 (diff)
downloadbusybox-6a0710e954d913e1096893bf3d037667420db3be.tar.gz
ash: [BUILTIN] Merge SKIPFUNC/SKIPFILE and only clear SKIPFUNC when leaving dotcmd
Upstream commit: Date: Sat, 9 Jul 2011 22:05:22 +0800 [BUILTIN] Merge SKIPFUNC/SKIPFILE and only clear SKIPFUNC when leaving dotcmd Currently upon leaving a dotcmd the evalskip state is reset so if a continue/break statement is used within a dot script it would have no effect outside of the dot script. This is inconsistent with other shells. This patch is based on one by Jilles Tjoelker and only clears SKIPFUNC when leaving a dot script. As a result continue/break will remain in effect. It also merges SKIPFUNC/SKIPFILE as they have no practical difference. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/hush_test/hush-parsing')
0 files changed, 0 insertions, 0 deletions