}
#else NOPP
{
+ LineNumber = 0;
+ FileName = filnam;
#ifdef READ_IN_ONE
isize = size;
ipp = text;
loadbuf()
{
#ifndef NOPP
- if (!head) {
- /* stack exhausted, EOF on sourcefile */
+ if (!head) /* stack exhausted, EOF on sourcefile */
return EOI;
- }
#endif NOPP
#ifndef NOPP
#else NOPP
if (ipp < &ibuf[isize])
#endif NOPP
- {
- /* a genuine '\0' character has been seen */
- return '\0';
- }
+ return '\0'; /* a genuine '\0' character has been seen */
#ifndef READ_IN_ONE
#ifndef NOPP
if ( FilDes != 0
&& (head->bh_size = readblock(FilDes, head->bh_text)) > 0
- ) {
+ )
return ipp = &(head->bh_text[1]), *ipp++;
- }
#else NOPP
if (FilDes != 0 && (isize = readblock(FilDes, &ibuf[0])) > 0)
return ipp = &ibuf[1], *ipp++;
#endif NOPP
-
#endif READ_IN_ONE
#ifdef NOPP
#endif READ_IN_ONE
#endif NOPP
- return
#ifndef NOPP
- pop_bh() ? (*ipp ? *ipp++ : loadbuf()) :
+ if (pop_bh())
+ return *ipp ? *ipp++ : loadbuf();
#endif NOPP
- (ipp = &"\0\0"[1], EOI);
+ ipp = &"\0\0"[1];
+ return EOI;
}
/* Some miscellaneous routines : setwdir() and mk_filename()