From: Vern Paxson Date: Wed, 16 Mar 1994 12:18:38 +0000 (+0000) Subject: Added fix for 8-bit chars returned by input() X-Git-Tag: flex-2-5-5b~208 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b4f8bff20410ede032016e615d7be92fd28f5aed;p=flex Added fix for 8-bit chars returned by input() --- diff --git a/flex.skl b/flex.skl index 1b0c2d7..327986d 100644 --- a/flex.skl +++ b/flex.skl @@ -896,7 +896,7 @@ int yyFlexLexer::yyinput() } } - c = *yy_c_buf_p; + c = *(unsigned char *) yy_c_buf_p; /* cast for 8-bit char's */ *yy_c_buf_p = '\0'; /* preserve yytext */ yy_hold_char = *++yy_c_buf_p;