diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2014-10-06 19:45:58 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2014-10-06 19:45:58 +0800 |
commit | ebfdd97a10e34a5e70eadfc21ebfc033ef93a563 (patch) | |
tree | 3fc0164b796a104b850b40a871304e507edd3fc6 /src/funcs/popd | |
parent | [BUILTIN] Exit without arguments in a trap should use status outside traps (diff) | |
download | dash-ebfdd97a10e34a5e70eadfc21ebfc033ef93a563.tar.gz dash-ebfdd97a10e34a5e70eadfc21ebfc033ef93a563.zip |
[BUILTIN] Do not allow break to break across function calls
As it is if you do a multi-level break inside a function it'll actually include loops outside of the function call. This is counterintuitive. This patch changes this by saving and resetting loopnest when entering a function. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'src/funcs/popd')
0 files changed, 0 insertions, 0 deletions