hush: fix mishandling of a'b'c=fff as assignments. They are not.

function                                             old     new   delta
parse_stream                                        1920    2004     +84
done_word                                            715     752     +37
parse_and_run_stream                                 328     333      +5
builtin_exec                                          25      29      +4
pseudo_exec_argv                                     138     139      +1
run_list                                            2006    1999      -7
is_assignment                                        215     134     -81
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 5/2 up/down: 131/-88)            Total: 43 bytes
This commit is contained in:
Denis Vlasenko
2008-08-04 00:46:07 +00:00
parent c8bec9a085
commit 2b576b8e76
5 changed files with 129 additions and 60 deletions

View File

@@ -0,0 +1,2 @@
hush: can't exec 'a=b': No such file or directory
1