hush: disallow "{echo hi; }" (require whitespace)
authorDenis Vlasenko <vda.linux@googlemail.com>
Fri, 17 Apr 2009 11:55:42 +0000 (11:55 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Fri, 17 Apr 2009 11:55:42 +0000 (11:55 -0000)
commitf8c1f02d2f7733619437581c2264828d3d160089
treeaca561482419d64a6d36d649fc1f4f67d1ba9123
parent5ff9629b8fe7578dd0cefb31764365c89ca6328c
hush: disallow "{echo hi; }" (require whitespace)
 and "{ echo hi }" (require semicolon or &)

function                                             old     new   delta
parse_stream                                        2098    2176     +78
done_command                                          98      84     -14
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/1 up/down: 78/-14)             Total: 64 bytes
shell/hush.c