commit bash-20181214 snapshot

This commit is contained in:
Chet Ramey
2018-12-17 14:53:06 -05:00
parent 8bf3cfef2d
commit ab8ded9c30
5 changed files with 29 additions and 7 deletions
+4 -4
View File
@@ -214,7 +214,7 @@ static intmax_t exp5 __P((void));
static intmax_t exp4 __P((void));
static intmax_t expshift __P((void));
static intmax_t exp3 __P((void));
static intmax_t exp2 __P((void));
static intmax_t expmuldiv __P((void));
static intmax_t exppower __P((void));
static intmax_t exp1 __P((void));
static intmax_t exp0 __P((void));
@@ -858,14 +858,14 @@ exp3 ()
{
register intmax_t val1, val2;
val1 = exp2 ();
val1 = expmuldiv ();
while ((curtok == PLUS) || (curtok == MINUS))
{
int op = curtok;
readtok ();
val2 = exp2 ();
val2 = expmuldiv ();
if (op == PLUS)
val1 += val2;
@@ -877,7 +877,7 @@ exp3 ()
}
static intmax_t
exp2 ()
expmuldiv ()
{
register intmax_t val1, val2;
#if defined (HAVE_IMAXDIV)