mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-04 10:41:11 +02:00
unposted (after 37018): Fix typo in error message.
This commit is contained in:
parent
58f4cccb1f
commit
51d50218fb
3 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2015-10-30 Daniel Shahaf <d.s@daniel.shahaf.name>
|
||||
|
||||
* unposted (after 37018): Src/params.c, Test/E01options.ztst: Fix
|
||||
typo in error message.
|
||||
|
||||
2015-10-30 Peter Stephenson <p.stephenson@samsung.com>
|
||||
|
||||
* 37022: Doc/Zsh/expn.yo, Doc/Zsh/options.yo, Src/glob.c,
|
||||
|
|
|
@ -3061,7 +3061,7 @@ setnparam(char *s, mnumber val)
|
|||
v = getvalue(&vbuf, &t, 1);
|
||||
DPUTS(!v, "BUG: value not found for new parameter");
|
||||
if (!was_unset && isset(WARNCREATEGLOBAL) && locallevel > 0)
|
||||
check_warn_create(v->pm, "numeric parameter");
|
||||
check_warn_create(v->pm, "numeric");
|
||||
}
|
||||
setnumvalue(v, val);
|
||||
unqueue_signals();
|
||||
|
|
|
@ -1118,7 +1118,7 @@
|
|||
0:WARN_CREATE_GLOBAL option
|
||||
?fn:3: scalar parameter foo1 created globally in function fn
|
||||
?fn:5: scalar parameter foo1 created globally in function fn
|
||||
?fn:15: numeric parameter parameter foo5 created globally in function fn
|
||||
?fn:15: numeric parameter foo5 created globally in function fn
|
||||
|
||||
# This really just tests if XTRACE is egregiously broken.
|
||||
# To test it properly would need a full set of its own.
|
||||
|
|
Loading…
Reference in a new issue