From 2b576b8e76ee0dc548f46489e2546b7ed70d080d Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Mon, 4 Aug 2008 00:46:07 +0000 Subject: 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 --- shell/hush_test/hush-misc/assignment1.right | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 shell/hush_test/hush-misc/assignment1.right (limited to 'shell/hush_test/hush-misc/assignment1.right') diff --git a/shell/hush_test/hush-misc/assignment1.right b/shell/hush_test/hush-misc/assignment1.right new file mode 100644 index 000000000..d0a13d3d8 --- /dev/null +++ b/shell/hush_test/hush-misc/assignment1.right @@ -0,0 +1,9 @@ +if1:0 +while1:0 +until1:0 +if2:0 +while2:0 +until2:0 +if3:0 +while3:0 +until3:0 -- cgit v1.2.3