mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-19 11:31:26 +01:00
unposted: fix typo in previous commit
This commit is contained in:
parent
09960dc5b9
commit
9ecfa0842b
4 changed files with 15 additions and 3 deletions
|
@ -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 $
|
||||
*****************************************************
|
||||
|
|
|
@ -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.
|
||||
)
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue