summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Test/A01grammar.ztst10
2 files changed, 15 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 013f9fa89..ad3a91646 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2018-10-24 Daniel Shahaf <d.s@daniel.shahaf.name>
+
+ * 43726: Test/A01grammar.ztst: Add tests for semicolon in the
+ middle of a sublist not terminating it.
+
2018-10-24 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 43723: Completion/Unix/Command/_mkdir: fix for builtin
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