1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-01 17:24:50 +01:00

45340: internal: Document the difference between paramtab and realparamtab.

This commit is contained in:
Daniel Shahaf 2020-01-23 03:14:45 +00:00
parent e626f57613
commit 5e843a3721
2 changed files with 12 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2020-01-23 Daniel Shahaf <danielsh@apache.org>
* 45340: Src/params.c: internal: Document the difference between
paramtab and realparamtab.
2020-01-19 Eitan Adler <lists@eitanadler.com>
* 45332: Completion/Unix/Command/_git: add completion for

View file

@ -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;