hush/shell/hush_test/hush-misc/colon.tests
Denis Vlasenko f8d01d3f66 hush: fix a bug where we were requiring semicolon here: (cmd;)
also fix a bug where after error prompt is not shown.

function                                             old     new   delta
parse_stream                                        1612    1638     +26
parse_and_run_stream                                 361     375     +14
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/0 up/down: 40/0)               Total: 40 bytes
2008-06-14 17:13:20 +00:00

6 lines
53 B
Plaintext
Executable File

false
:
echo $?
(while :; do exit; done)
echo OK: $?