>From 8f7e6f89ba493f47939adc093b1708597fba9705 Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Wed, 14 Sep 2016 03:38:34 +0000 Subject: [PATCH 04/10] internals: match_str: Document 'savl'. --- Src/Zle/compmatch.c | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/Src/Zle/compmatch.c b/Src/Zle/compmatch.c index 654eec4..001a166 100644 --- a/Src/Zle/compmatch.c +++ b/Src/Zle/compmatch.c @@ -637,7 +637,22 @@ match_str(char *l, char *w, Brinfo *bpp, int bc, int *rwlp, * LOST: Documentation comment. Last seen 10 years ago in the temporal lobe. * Reward promised for its safe return. Contact zsh-workers@zsh.org. */ - char *tp, savl = '\0'; + char *tp; + /* + * Temporary variable. Used as temporary storage for a + * + * { + * () { + * local foo="$foo" + * foo[1]=bar + * ... + * } + * (use original $foo here) + * } + * + * operation. Similar to savw. + */ + char savl; /* * The anchor on this end. */