From c44333098d7674edb98d05f7e86111cce600263a Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Mon, 8 Dec 2008 08:50:33 +0000 Subject: [PATCH] Store an unsigned char in the current lexer character buffer ("c") to avoid confusion with EOF. [r24384] --- lexer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lexer.c b/lexer.c index b797a90..d2180c0 100644 --- a/lexer.c +++ b/lexer.c @@ -96,7 +96,7 @@ static inline void next_real_char(void) bufpos = buf + MAX_PUTBACK; bufend = buf + MAX_PUTBACK + s; } - c = *bufpos++; + c = (unsigned char)*bufpos++; } /** -- 2.20.1