busybox/shell/hush_test/hush-misc/case2.tests
Denys Vlasenko 1847fee2d4 hush: fix a corner case in "case" stmt, ctx_dsemicolon is in fact unused
function                                             old     new   delta
parse_stream                                        2446    2476     +30
done_word                                            797     800      +3
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/0 up/down: 33/0)               Total: 33 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2025-08-13 00:51:44 +02:00

6 lines
102 B
Text
Executable file

# had a parser bug which incorrectly detected ";;"
case w in
a);
b);;
esac
echo Should not be reached