diff options
author | Daniel Shahaf <d.s@daniel.shahaf.name> | 2015-10-30 15:02:22 +0000 |
---|---|---|
committer | Daniel Shahaf <d.s@daniel.shahaf.name> | 2015-10-30 15:03:12 +0000 |
commit | 51d50218fb04229ead75d5f472bc86c26936afe4 (patch) | |
tree | 121831d420bcbad94a0f5a8cf443659dc0b55901 | |
parent | 58f4cccb1fbd66b7645178af971cb317cf1a2d7a (diff) | |
download | zsh-51d50218fb04229ead75d5f472bc86c26936afe4.tar.gz zsh-51d50218fb04229ead75d5f472bc86c26936afe4.tar.xz zsh-51d50218fb04229ead75d5f472bc86c26936afe4.zip |
unposted (after 37018): Fix typo in error message.
-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. |