hush: fix "if { echo foo; } then { echo bar; } fi" parsing

function                                             old     new   delta
done_word                                            728     793     +65
parse_stream                                        2084    2098     +14
This commit is contained in:
Denis Vlasenko
2009-04-16 10:59:40 +00:00
parent 74a931ac9e
commit bb929517a8
4 changed files with 48 additions and 18 deletions

View File

@@ -1,5 +1,5 @@
if test $# = 0; then
#BUG in builtin_exec! will glob param!
# UNFIXED BUG in builtin_exec! will glob param!
#exec "$THIS_SH" "$0" 'param_glob.t*'
"$THIS_SH" "$0" 'param_glob.t*'
exit