hush/shell/hush_test/hush-parsing/groups_and_keywords1.tests
Denis Vlasenko bb929517a8 hush: fix "if { echo foo; } then { echo bar; } fi" parsing
function                                             old     new   delta
done_word                                            728     793     +65
parse_stream                                        2084    2098     +14
2009-04-16 10:59:40 +00:00

11 lines
297 B
Plaintext
Executable File

echo "Semicolons after } can be omitted 1:"
if { echo foo; } then { echo bar; } fi
echo "Semicolons after } can be omitted 2:"
while { echo foo; } do { echo bar; break; } done
echo "Semicolons after fi can be omitted:"
while if echo foo; then echo bar; fi do echo baz; break; done
echo Done:$?