From 73b1328049c37a8d7d789fb7d6b7e679ee73ba48 Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Wed, 24 Oct 2018 15:17:35 +0000 Subject: 43726: Add tests for semicolon in the middle of a sublist not terminating it. --- Test/A01grammar.ztst | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Test/A01grammar.ztst') diff --git a/Test/A01grammar.ztst b/Test/A01grammar.ztst index 217f7bea4..339ce7494 100644 --- a/Test/A01grammar.ztst +++ b/Test/A01grammar.ztst @@ -873,3 +873,13 @@ 0:Assignment-only current shell commands in LHS of pipelin >1 >1 + + echo pipe | ; sed s/pipe/PIPE/ + true && ; echo and true + false && ; echo and false + true || ; echo or true + false || ; echo or false +0:semicolon is equivalent to newline +>PIPE +>and true +>or false -- cgit 1.4.1