The version of basic copied from Martin Kerstens directory.

This commit is contained in:
em
1984-11-27 22:11:59 +00:00
parent 502a7a86af
commit 4301dfb7bf
16 changed files with 3076 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
#include "bem.h"
/* Author: M.L. Kersten
** yywrap is called upon encountering endoffile on yyin.
** when more input files are present, it moves to the next
** otherwise -1 is returned and simultaneous endofinput is set
*/
int endofinput =0;
yywrap()
{
if( fclose(yyin) == EOF)
fatal("fclose problems ");
/* check for next input file */
return(-1);
}