diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Src/params.c | 2 | ||||
-rw-r--r-- | Test/E01options.ztst | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index 0ef6fe6ee..4c9b8dca6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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, diff --git a/Src/params.c b/Src/params.c index 5058695bb..de456c144 100644 --- a/Src/params.c +++ b/Src/params.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(); diff --git a/Test/E01options.ztst b/Test/E01options.ztst index 15468e888..c9427c755 100644 --- a/Test/E01options.ztst +++ b/Test/E01options.ztst @@ -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. |