Skip to content

Commit

Permalink
Warning = error
Browse files Browse the repository at this point in the history
  • Loading branch information
Wodan58 committed Feb 13, 2024
1 parent 97e7143 commit a769eff
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scan.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
module : scan.c
version : 1.15
date : 02/12/24
version : 1.16
date : 02/13/24
*/
#include "globals.h"

Expand Down Expand Up @@ -45,8 +45,8 @@ PUBLIC void inilinebuffer(pEnv env, int joy)
infile[0].name = env->filename;
if (!joy) /* test whether compiler active */
return;
fgets(my_line, INPLINEMAX, yyin); /* read first line into my_line */
rewind(yyin);
if (fgets(my_line, INPLINEMAX, yyin)) /* read first line */
rewind(yyin);
my_echoflag = env->echoflag;
}

Expand Down

0 comments on commit a769eff

Please sign in to comment.