hush: fix break'ing out of {} and () groups; with testcase
authorDenis Vlasenko <vda.linux@googlemail.com>
Tue, 29 Jul 2008 11:37:15 +0000 (11:37 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Tue, 29 Jul 2008 11:37:15 +0000 (11:37 -0000)
commitfcf37c31838fbdd4f8cfe24c1c8ef957838a6de4
tree9834030682794e8d7a3ced1aa2c57870951f1b3f
parentd91afa33fd6874aeed458a84ceeb2b51af84505d
hush: fix break'ing out of {} and () groups; with testcase

function                                             old     new   delta
builtin_break                                         93     129     +36
builtin_continue                                      21      47     +26
run_list                                            1973    1976      +3
shell/hush.c
shell/hush_test/hush-misc/break5.right [new file with mode: 0644]
shell/hush_test/hush-misc/break5.tests [new file with mode: 0755]