string pooling, and more consistent look for error messages

This commit is contained in:
tg
2017-04-02 16:47:43 +00:00
parent 0e2c9e55f8
commit fa5cfa12ed
4 changed files with 15 additions and 12 deletions

4
expr.c
View File

@ -23,7 +23,7 @@
#include "sh.h"
__RCSID("$MirOS: src/bin/mksh/expr.c,v 1.92 2017/04/02 15:00:42 tg Exp $");
__RCSID("$MirOS: src/bin/mksh/expr.c,v 1.93 2017/04/02 16:47:41 tg Exp $");
#define EXPRTOK_DEFNS
#include "exprtok.h"
@ -203,7 +203,7 @@ evalerr(Expr_state *es, enum error_type type, const char *str)
case ET_BADLIT:
warningf(true, Tf_sD_s_qs, es->expression,
"bad number", str);
Tbadnum, str);
break;
case ET_RECURSIVE: