[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.39 and 1.40

version 1.39, 2011/08/03 08:48:19 version 1.40, 2011/10/06 14:37:56
Line 945 
Line 945 
         if (yyin != NULL && 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 (yytext[0] == '\n')
                   n = asprintf(&str,
                       "%s: %s:%d: %s: newline unexpected",
                       __progname, filename, lineno, s);
         else if (isspace(yytext[0]) || !isprint(yytext[0]))          else if (isspace(yytext[0]) || !isprint(yytext[0]))
                 n = asprintf(&str,                  n = asprintf(&str,
                     "%s: %s:%d: %s: ascii char 0x%02x unexpected",                      "%s: %s:%d: %s: ascii char 0x%02x unexpected",

Legend:
Removed from v.1.39  
changed lines
  Added in v.1.40