register hashentry *h;
char *s0 = s;
- for (x = 0; c = *s++; x = x & 0x4000 ? ((x << 1) & 0x7fff) + 1 : x << 1)
+ for (x = 0; (c = *s++); x = x & 0x4000 ? ((x << 1) & 0x7fff) + 1 : x << 1)
x += c;
for (h = *(zot = ht->tab + x % ht->htsize); h; h = h->next)
if (!strcmp (s0, h->name))
hashentry *he;
hashtab **x, **x0, *y;
- for (x = &nl_cache; y = *x; x0 = x, x = &y->next)
+ for (x = &nl_cache; (y = *x); x0 = x, x = &y->next)
if (nl == y->nl)
return y;
if (n_nlcache >= MAX_NL_CACHE)
register char *s;
register int c;
- for (s = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; c = *s++;)
+ for (s = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; (c = *s++);)
Alpha[c]
= Alphanum[c] = Alpha[c + 'a' - 'A'] = Alphanum[c + 'a' - 'A'] = c;
- for (s = "0123456789_"; c = *s++;)
+ for (s = "0123456789_"; (c = *s++);)
Alphanum[c] = c;
}
ch = 115;
errfl (f__elist->cierr, ch, "namelist read");
}
- while (*s = Alphanum[GETC (ch) & 0xff])
+ while ((*s = Alphanum[GETC (ch) & 0xff]))
if (s < se)
s++;
if (ch == EOF)
register int k;
ftnlen x2, x3;
- if (k = getnum (chp, x1))
+ if ((k = getnum (chp, x1)))
return k;
x3 = 1;
if (*chp == ':')
{
- if (k = getnum (chp, &x2))
+ if ((k = getnum (chp, &x2)))
return k;
x2 -= *x1;
if (*chp == ':')
{
- if (k = getnum (chp, &x3))
+ if ((k = getnum (chp, &x3)))
return k;
if (!x3)
return 123;
#endif
}
have_amp:
- if (ch = getname (buf, sizeof (buf)))
+ if ((ch = getname (buf, sizeof (buf))))
return ch;
nl = (Namelist *) a->cifmt;
if (strcmp (buf, nl->name))
if (ch <= ' ' && ch >= 0 || ch == ',')
continue;
Ungetc (ch, f__cf);
- if (ch = getname (buf, sizeof (buf)))
+ if ((ch = getname (buf, sizeof (buf))))
return ch;
goto havename;
}
{
if (type != TYCHAR)
errfl (a->cierr, 122, where);
- if (k = getdimen (&ch, dn, (ftnlen) size, (ftnlen) size, &b))
+ if ((k = getdimen (&ch, dn, (ftnlen) size, (ftnlen) size, &b)))
errfl (a->cierr, k, where);
if (ch != ')')
errfl (a->cierr, 115, where);
nomax = span = dims[1];
ivae = iva + size * nomax;
colonseen = 0;
- if (k = getdimen (&ch, dn, size, nomax, &b))
+ if ((k = getdimen (&ch, dn, size, nomax, &b)))
errfl (a->cierr, k, where);
no = dn->extent;
b0 = dims[2];
errfl (a->cierr, 115, where);
dn1 = dn + 1;
span /= *dims;
- if (k = getdimen (&ch, dn1, dn->delta ** dims, span, &b1))
+ if ((k = getdimen (&ch, dn1, dn->delta ** dims, span, &b1)))
errfl (a->cierr, k, where);
ex *= *dims;
b += b1 * ex;
dn0 = dimens;
if (type == TYCHAR && ch == '(' /*) */ )
{
- if (k = getdimen (&ch, &substr, size, size, &b))
+ if ((k = getdimen (&ch, &substr, size, size, &b)))
errfl (a->cierr, k, where);
if (ch != ')')
errfl (a->cierr, 115, where);
dn1->delta -= ex;
}
}
- else if (dims = v->dims)
+ else if ((dims = v->dims))
{
no = no1 = dims[1];
ivae = iva + no * size;
else if (iva + no1 * size > ivae)
no1 = (ivae - iva) / size;
f__lquit = 0;
- if (k = l_read (&no1, vaddr + iva, size, type))
+ if ((k = l_read (&no1, vaddr + iva, size, type)))
return k;
if (f__lquit == 1)
return 0;
no1 = (ivae - iva) / size;
if (no1 > f__lcount)
no1 = f__lcount;
- if (k = l_read (&no1, vaddr + iva, size, type))
+ if ((k = l_read (&no1, vaddr + iva, size, type)))
return k;
iva += no1 * dn0->delta;
}
f__external = 1;
l_eof = 0;
- if (n = c_le (a))
+ if ((n = c_le (a)))
return n;
if (f__curunit->uwrt && f__nowreading (f__curunit))
err (a->cierr, errno, where0);