diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2000-05-31 08:56:23 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2000-05-31 08:56:23 +0000 |
commit | 7bf294f2b8329673ffd0ee55fa2cca872e5448df (patch) | |
tree | 0ab313d514fd5dfbeede7a34876df8e921dc2519 /Src/zsh.h | |
parent | d5b6d1f40c7dcbc1510e4335924889b55fb648db (diff) | |
download | zsh-7bf294f2b8329673ffd0ee55fa2cca872e5448df.tar.gz zsh-7bf294f2b8329673ffd0ee55fa2cca872e5448df.tar.xz zsh-7bf294f2b8329673ffd0ee55fa2cca872e5448df.zip |
Wayne: pattern.c unitialised var
Zero-length arrays now possible with $array[1,0]
Diffstat (limited to 'Src/zsh.h')
-rw-r--r-- | Src/zsh.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/zsh.h b/Src/zsh.h index 007a84acc..9ac1e8646 100644 --- a/Src/zsh.h +++ b/Src/zsh.h @@ -467,8 +467,8 @@ struct value { int isarr; Param pm; /* parameter node */ int inv; /* should we return the index ? */ - int a; /* first element of array slice, or -1 */ - int b; /* last element of array slice, or -1 */ + int start; /* first element of array slice, or -1 */ + int len; /* length of array slice, or -1 */ char **arr; /* cache for hash turned into array */ }; |