=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/bc/bc.y,v retrieving revision 1.43 retrieving revision 1.44 diff -c -r1.43 -r1.44 *** src/usr.bin/bc/bc.y 2013/11/12 13:54:51 1.43 --- src/usr.bin/bc/bc.y 2013/11/20 21:33:54 1.44 *************** *** 1,5 **** %{ ! /* $OpenBSD: bc.y,v 1.43 2013/11/12 13:54:51 deraadt Exp $ */ /* * Copyright (c) 2003, Otto Moerbeek --- 1,5 ---- %{ ! /* $OpenBSD: bc.y,v 1.44 2013/11/20 21:33:54 deraadt Exp $ */ /* * Copyright (c) 2003, Otto Moerbeek *************** *** 947,953 **** n = asprintf(&str, "%s: %s:%d: %s: newline unexpected", __progname, filename, lineno, s); ! else if (isspace(yytext[0]) || !isprint(yytext[0])) n = asprintf(&str, "%s: %s:%d: %s: ascii char 0x%02x unexpected", __progname, filename, lineno, s, yytext[0]); --- 947,954 ---- n = asprintf(&str, "%s: %s:%d: %s: newline unexpected", __progname, filename, lineno, s); ! else if (isspace((unsigned char)yytext[0]) || ! !isprint((unsigned char)yytext[0])) n = asprintf(&str, "%s: %s:%d: %s: ascii char 0x%02x unexpected", __progname, filename, lineno, s, yytext[0]);