1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-06-09 00:36:06 +02:00

unposted: fix typo in previous commit

This commit is contained in:
Peter Stephenson 2010-05-12 10:17:58 +00:00
parent 09960dc5b9
commit 9ecfa0842b
4 changed files with 15 additions and 3 deletions

View File

@ -1,5 +1,8 @@
2010-05-12 Peter Stephenson <pws@csr.com>
* unposted: Doc/Zsh/params.yo, Src/Modules/zutil.c: fix typo
("zregesparse-guard").
* 27951: Doc/Zsh/expn.yo, Doc/Zsh/params.yo, Src/builtin.c,
Src/exec.c, Src/glob.c, Src/init.c, Src/params.c, Src/signals.c,
Src/Builtins/sched.c, Src/Modules/zpty.c, Src/Modules/zutil.c:
@ -13130,5 +13133,5 @@
*****************************************************
* This is used by the shell to define $ZSH_PATCHLEVEL
* $Revision: 1.4976 $
* $Revision: 1.4977 $
*****************************************************

View File

@ -806,7 +806,7 @@ code.
item(tt(zpty))(
Code executed by the tt(zpty) builtin from the tt(zsh/zpty) module.
)
item(tt(zregesparse-guard))(
item(tt(zregexparse-guard))(
Code executed as a guard by the tt(zregexparse) command from the
tt(zsh/zutil) module.
)

View File

@ -1279,7 +1279,7 @@ rmatch(RParseResult *sm, char *subj, char *var1, char *var2, int comp)
}
if (next->pattern && pattry(next->patprog, subj) &&
(!next->guard || (execstring(next->guard, 1, 0,
"zregesparse-guard"), !lastval))) {
"zregexparse-guard"), !lastval))) {
LinkNode aln;
char **mend;
int len;

View File

@ -1219,3 +1219,12 @@
>LOST
>Subscript flags returning single values
>STRING key= val=
print $zsh_eval_context[1]
[[ $ZSH_EVAL_CONTEXT = ${(j.:.)zsh_eval_context} ]] || print Not equal!
(( icontext = ${#zsh_eval_context} + 1 ))
contextfn() { print $(print $zsh_eval_context[icontext,-1]); }
contextfn
0:$ZSH_EVAL_CONTEXT and $zsh_eval_context
>toplevel
>shfunc cmdsubst