From ebfdd97a10e34a5e70eadfc21ebfc033ef93a563 Mon Sep 17 00:00:00 2001 From: Herbert Xu Date: Mon, 6 Oct 2014 19:45:58 +0800 Subject: [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 --- ChangeLog | 1 + 1 file changed, 1 insertion(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index d0ec202..b70fa88 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ 2014-10-06 Herbert Xu * Exit without arguments in a trap should use status outside traps. + * Do not allow break to break across function calls. 2014-10-03 Herbert Xu -- cgit 1.4.1