'main': Allow newlines in command position.

Fixes #501.

Fixes #616 (the original form; not the form in
test-data/alias-comment1.zsh which is now considered o be #677 (see
previous commit for details)).

Fixes a latent bug in test-data/always2.zsh.

No user-visible effect, and therefore, no changelog entry.
This commit is contained in:
Daniel Shahaf
2020-03-15 14:59:07 +00:00
parent e94dc89606
commit 9134cdf8d6
4 changed files with 7 additions and 5 deletions

View File

@@ -34,6 +34,6 @@ BUFFER=$':;\n:'
expected_region_highlight=(
'1 1 builtin' # :
'2 2 commandseparator' # ;
'3 3 commandseparator "issue #616"' # \n
'3 3 commandseparator' # \n
'4 4 builtin' # :
)