diff options
| author | Daniel Shahaf <danielsh@apache.org> | 2020-01-23 03:14:45 +0000 |
|---|---|---|
| committer | Daniel Shahaf <danielsh@apache.org> | 2020-01-23 03:21:36 +0000 |
| commit | 5e843a3721ff53a9a2c0c8a3611cba829640716c (patch) | |
| tree | 30d2e9b7958b08e8952f0533bc165bc22e3d34cf /Src | |
| parent | 45332: _git: add completion for git-version (diff) | |
| download | zsh-5e843a3721ff53a9a2c0c8a3611cba829640716c.tar zsh-5e843a3721ff53a9a2c0c8a3611cba829640716c.tar.gz zsh-5e843a3721ff53a9a2c0c8a3611cba829640716c.tar.bz2 zsh-5e843a3721ff53a9a2c0c8a3611cba829640716c.tar.lz zsh-5e843a3721ff53a9a2c0c8a3611cba829640716c.tar.xz zsh-5e843a3721ff53a9a2c0c8a3611cba829640716c.tar.zst zsh-5e843a3721ff53a9a2c0c8a3611cba829640716c.zip | |
45340: internal: Document the difference between paramtab and realparamtab.
Diffstat (limited to 'Src')
| -rw-r--r-- | Src/params.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Src/params.c b/Src/params.c index 5eaafe34e..863b32600 100644 --- a/Src/params.c +++ b/Src/params.c @@ -478,7 +478,13 @@ static initparam argvparam_pm = IPDEF9("", &pparams, NULL, \ static Param argvparam; -/* hash table containing the parameters */ +/* "parameter table" - hash table containing the parameters + * + * realparamtab always points to the shell's global table. paramtab is sometimes + * temporarily changed to point at another table, while dealing with the keys + * of an associative array (for example, see makecompparams() which initializes + * the associative array ${compstate}). + */ /**/ mod_export HashTable paramtab, realparamtab; |
