diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-10-01 14:44:51 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-10-01 14:44:51 +0900 |
commit | 372b8dfcdaf5efa7cc9e068843717e9621562c76 (patch) | |
tree | c048308d6627d11b2114c269c23c23c22dea7dfd /error.c | |
parent | e83b5dbc94116983df1ec99d4f02cc8640f63da5 (diff) | |
download | byacc-372b8dfcdaf5efa7cc9e068843717e9621562c76.tar.gz byacc-372b8dfcdaf5efa7cc9e068843717e9621562c76.tar.bz2 byacc-372b8dfcdaf5efa7cc9e068843717e9621562c76.zip |
Imported Upstream version 20100610upstream/20100610
Diffstat (limited to 'error.c')
-rw-r--r-- | error.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: error.c,v 1.6 2008/11/24 21:30:35 tom Exp $ */ +/* $Id: error.c,v 1.7 2010/06/06 23:13:17 tom Exp $ */ /* routines for printing error messages */ @@ -42,7 +42,7 @@ print_pos(char *st_line, char *st_cptr) return; for (s = st_line; *s != '\n'; ++s) { - if (isprint(*s) || *s == '\t') + if (isprint(UCH(*s)) || *s == '\t') putc(*s, stderr); else putc('?', stderr); |