summaryrefslogtreecommitdiffstats
path: root/Src/zsh.h
diff options
context:
space:
mode:
authorWayne Davison <wayned@users.sourceforge.net>2000-06-02 01:54:16 +0000
committerWayne Davison <wayned@users.sourceforge.net>2000-06-02 01:54:16 +0000
commit91d5f734349b7188a9a5ae54ecd99974e228bd2b (patch)
tree1fb8a4a7c864843debaf0e8a163bdb0824ae646b /Src/zsh.h
parentOne more test. (diff)
downloadzsh-91d5f734349b7188a9a5ae54ecd99974e228bd2b.tar
zsh-91d5f734349b7188a9a5ae54ecd99974e228bd2b.tar.gz
zsh-91d5f734349b7188a9a5ae54ecd99974e228bd2b.tar.bz2
zsh-91d5f734349b7188a9a5ae54ecd99974e228bd2b.tar.lz
zsh-91d5f734349b7188a9a5ae54ecd99974e228bd2b.tar.xz
zsh-91d5f734349b7188a9a5ae54ecd99974e228bd2b.tar.zst
zsh-91d5f734349b7188a9a5ae54ecd99974e228bd2b.zip
Changed the array "len" to be "end" -- a 1-relative index of the last
item (or you can think of it as pointing one past the last item).
Diffstat (limited to 'Src/zsh.h')
-rw-r--r--Src/zsh.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/zsh.h b/Src/zsh.h
index 9ac1e8646..cb0e0a934 100644
--- a/Src/zsh.h
+++ b/Src/zsh.h
@@ -468,7 +468,7 @@ struct value {
Param pm; /* parameter node */
int inv; /* should we return the index ? */
int start; /* first element of array slice, or -1 */
- int len; /* length of array slice, or -1 */
+ int end; /* 1-rel last element of array slice, or -1 */
char **arr; /* cache for hash turned into array */
};