[BACK]Return to bc.y CVS log [TXT][DIR] Up to [local] / src / usr.bin / bc

Diff for /src/usr.bin/bc/bc.y between version 1.31 and 1.32

version 1.31, 2006/04/20 20:00:46 version 1.32, 2006/05/18 05:49:53
Line 944 
Line 944 
         char    *str, *p;          char    *str, *p;
         int     n;          int     n;
   
         if (feof(yyin))          if (yyin != NULL && feof(yyin))
                 n = asprintf(&str, "%s: %s:%d: %s: unexpected EOF",                  n = asprintf(&str, "%s: %s:%d: %s: unexpected EOF",
                     __progname, filename, lineno, s);                      __progname, filename, lineno, s);
         else if (isspace(yytext[0]) || !isprint(yytext[0]))          else if (isspace(yytext[0]) || !isprint(yytext[0]))

Legend:
Removed from v.1.31  
changed lines
  Added in v.1.32