diff options
author | Daniel Shahaf <d.s@daniel.shahaf.name> | 2018-10-24 15:17:35 +0000 |
---|---|---|
committer | Daniel Shahaf <d.s@daniel.shahaf.name> | 2018-10-24 15:31:42 +0000 |
commit | 73b1328049c37a8d7d789fb7d6b7e679ee73ba48 (patch) | |
tree | f7a3813dab79cc356d35ad938d3eb2c036b5d55d | |
parent | a4e435b873f542b2ff54cd91bb70e6300022f7b3 (diff) | |
download | zsh-73b1328049c37a8d7d789fb7d6b7e679ee73ba48.tar.gz zsh-73b1328049c37a8d7d789fb7d6b7e679ee73ba48.tar.xz zsh-73b1328049c37a8d7d789fb7d6b7e679ee73ba48.zip |
43726: Add tests for semicolon in the middle of a sublist not terminating it.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Test/A01grammar.ztst | 10 |
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 |