summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2021-10-01 14:44:51 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2021-10-01 14:44:51 +0900
commit372b8dfcdaf5efa7cc9e068843717e9621562c76 (patch)
treec048308d6627d11b2114c269c23c23c22dea7dfd /error.c
parente83b5dbc94116983df1ec99d4f02cc8640f63da5 (diff)
downloadbyacc-372b8dfcdaf5efa7cc9e068843717e9621562c76.tar.gz
byacc-372b8dfcdaf5efa7cc9e068843717e9621562c76.tar.bz2
byacc-372b8dfcdaf5efa7cc9e068843717e9621562c76.zip
Imported Upstream version 20100610upstream/20100610
Diffstat (limited to 'error.c')
-rw-r--r--error.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/error.c b/error.c
index 314ff24..71f959b 100644
--- a/error.c
+++ b/error.c
@@ -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);