use nicer (and same as in other places!) error message for typeset
This commit is contained in:
4
funcs.c
4
funcs.c
@ -38,7 +38,7 @@
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
__RCSID("$MirOS: src/bin/mksh/funcs.c,v 1.239 2013/03/24 21:34:13 tg Exp $");
|
__RCSID("$MirOS: src/bin/mksh/funcs.c,v 1.240 2013/03/30 15:39:36 tg Exp $");
|
||||||
|
|
||||||
#if HAVE_KILLPG
|
#if HAVE_KILLPG
|
||||||
/*
|
/*
|
||||||
@ -836,7 +836,7 @@ c_typeset(const char **wp)
|
|||||||
shf_putc('\n', shl_stdout);
|
shf_putc('\n', shl_stdout);
|
||||||
}
|
}
|
||||||
} else if (!typeset(wp[i], fset, fclr, field, base)) {
|
} else if (!typeset(wp[i], fset, fclr, field, base)) {
|
||||||
bi_errorf("%s: %s", wp[i], "not identifier");
|
bi_errorf("%s: %s", wp[i], "is not an identifier");
|
||||||
goto errout;
|
goto errout;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user