diff options
author | Daniel Shahaf <d.s@daniel.shahaf.name> | 2020-03-18 19:57:49 +0000 |
---|---|---|
committer | Daniel Shahaf <d.s@daniel.shahaf.name> | 2020-03-22 02:23:53 +0000 |
commit | a3c6c5513dcfc25d952735449bf6da476d905184 (patch) | |
tree | 834103012b6a2675b08c9fdfef779c18690cdb9b /Src/exec.c | |
parent | fd1ef7d770d285dbf12f4b3516ea963a852e5cdd (diff) | |
download | zsh-a3c6c5513dcfc25d952735449bf6da476d905184.tar.gz zsh-a3c6c5513dcfc25d952735449bf6da476d905184.tar.xz zsh-a3c6c5513dcfc25d952735449bf6da476d905184.zip |
45583/0007: WC_FUNCDEF: Add a placeholder element.
Diffstat (limited to 'Src/exec.c')
-rw-r--r-- | Src/exec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Src/exec.c b/Src/exec.c index cd014ff38..3c3fcfa3e 100644 --- a/Src/exec.c +++ b/Src/exec.c @@ -5169,6 +5169,7 @@ execfuncdef(Estate state, Eprog redir_prog) sbeg = *state->pc++; nstrs = *state->pc++; npats = *state->pc++; + (void) *state->pc++; nprg = (end - state->pc); plen = nprg * sizeof(wordcode); @@ -6138,7 +6139,7 @@ stripkshdef(Eprog prog, char *name) int sbeg = pc[2], nstrs = pc[3], nprg, npats = pc[4], plen, len, i; Patprog *pp; - pc += 5; + pc += 6; nprg = end - pc; plen = nprg * sizeof(wordcode); |