From bb929517a86092481ed8547e9f247c1b58bc4745 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Thu, 16 Apr 2009 10:59:40 +0000 Subject: hush: fix "if { echo foo; } then { echo bar; } fi" parsing function old new delta done_word 728 793 +65 parse_stream 2084 2098 +14 --- shell/hush_test/hush-parsing/groups_and_keywords1.right | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 shell/hush_test/hush-parsing/groups_and_keywords1.right (limited to 'shell/hush_test/hush-parsing/groups_and_keywords1.right') diff --git a/shell/hush_test/hush-parsing/groups_and_keywords1.right b/shell/hush_test/hush-parsing/groups_and_keywords1.right new file mode 100644 index 000000000..4c46650dc --- /dev/null +++ b/shell/hush_test/hush-parsing/groups_and_keywords1.right @@ -0,0 +1,11 @@ +Semicolons after } can be omitted 1: +foo +bar +Semicolons after } can be omitted 2: +foo +bar +Semicolons after fi can be omitted: +foo +bar +baz +Done:0 -- cgit v1.2.3