aboutsummaryrefslogtreecommitdiffstats
path: root/debug.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2017-08-18 14:28:24 +0300
committerArnold D. Robbins <arnold@skeeve.com>2017-08-18 14:28:24 +0300
commit1417f965b2b8f8fb4c982908cd59f910ce002260 (patch)
treef4929049ef21105fac55547a8d2d2d3f75cad0c0 /debug.c
parent37e3afcdf07077144ae297406c7cc51576ded6d4 (diff)
downloadegawk-1417f965b2b8f8fb4c982908cd59f910ce002260.tar.gz
egawk-1417f965b2b8f8fb4c982908cd59f910ce002260.tar.bz2
egawk-1417f965b2b8f8fb4c982908cd59f910ce002260.zip
Typo fixes in debug.c.
Diffstat (limited to 'debug.c')
-rw-r--r--debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/debug.c b/debug.c
index efb8c02e..9a022669 100644
--- a/debug.c
+++ b/debug.c
@@ -1255,7 +1255,7 @@ do_set_var(CMDARG *arg, int cmd ATTRIBUTE_UNUSED)
if (count == 1) {
if (value != NULL && value->type == Node_var_array)
- d_error(_("attempt to use array `%s[\".*%s\"]' in a scalar context"),
+ d_error(_("attempt to use array `%s[\"%.*s\"]' in a scalar context"),
name, (int) subs->stlen, subs->stptr);
else {
arg = arg->next;
@@ -1277,7 +1277,7 @@ do_set_var(CMDARG *arg, int cmd ATTRIBUTE_UNUSED)
*lhs = array;
r = array;
} else if (value->type != Node_var_array) {
- d_error(_("attempt to use scalar `%s[\".*%s\"]' as array"),
+ d_error(_("attempt to use scalar `%s[\"%.*s\"]' as array"),
name, (int) subs->stlen, subs->stptr);
break;
} else {