busybox/shell/ash_test/ash-parsing/nodone2.tests
Denys Vlasenko 758b21402a hush: detect when terminating "done"/"fi" is missing
function                                             old     new   delta
parse_stream                                        2271    2292     +21
.rodata                                           105408  105427     +19
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/0 up/down: 40/0)               Total: 40 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2024-02-25 17:53:25 +01:00

3 lines
No EOL
94 B
Text
Executable file

for i in 1; do echo $i
# the next line has no EOL. It still must count as "done" keyword:
done