From bf25fbccb9b2641c77685ac0a537e8068b6b354a Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sun, 19 Apr 2009 13:57:51 +0000 Subject: hush: fix handling of } which is not a closing one in { cmd; } function old new delta parse_stream 2176 2302 +126 builtin_unset 381 387 +6 --- shell/hush_test/hush-parsing/group1.right | 1 + shell/hush_test/hush-parsing/group1.tests | 1 + 2 files changed, 2 insertions(+) create mode 100644 shell/hush_test/hush-parsing/group1.right create mode 100644 shell/hush_test/hush-parsing/group1.tests (limited to 'shell/hush_test/hush-parsing') diff --git a/shell/hush_test/hush-parsing/group1.right b/shell/hush_test/hush-parsing/group1.right new file mode 100644 index 000000000..6a7c4be0a --- /dev/null +++ b/shell/hush_test/hush-parsing/group1.right @@ -0,0 +1 @@ +word} } diff --git a/shell/hush_test/hush-parsing/group1.tests b/shell/hush_test/hush-parsing/group1.tests new file mode 100644 index 000000000..f063fbcb3 --- /dev/null +++ b/shell/hush_test/hush-parsing/group1.tests @@ -0,0 +1 @@ +{ echo word} }; } -- cgit v1.2.3