diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2008-08-31 16:01:10 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2008-08-31 16:01:10 +0000 |
commit | b41c26d78ab813debcba35478f0a97468233570c (patch) | |
tree | 97ec4b21c791df058dd7639902602a81d88a0c0f /Src/exec.c | |
parent | d19602a65a0fa7c42aacbbedbd0d9e44d52055ba (diff) | |
download | zsh-b41c26d78ab813debcba35478f0a97468233570c.tar.gz zsh-b41c26d78ab813debcba35478f0a97468233570c.tar.xz zsh-b41c26d78ab813debcba35478f0a97468233570c.zip |
25570: line numbers of complex sublists were wrong, plus test
make lineno zlong in another place
Diffstat (limited to 'Src/exec.c')
-rw-r--r-- | Src/exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/exec.c b/Src/exec.c index e9f4bc1e8..06f08ffb8 100644 --- a/Src/exec.c +++ b/Src/exec.c @@ -1060,7 +1060,7 @@ execlist(Estate state, int dont_change_job, int exiting) lnp1 = code2; } else if (wc_code(code2) == WC_SUBLIST) { if (WC_SUBLIST_FLAGS(code2) == WC_SUBLIST_SIMPLE) - lnp1 = state->pc[2]; + lnp1 = state->pc[1]; else lnp1 = WC_PIPE_LINENO(state->pc[1]); } |