From 882c57e5fab71a2aeae4ee182269c301740a6301 Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Tue, 2 Sep 2008 23:29:49 +0200 Subject: [PATCH] evalue_read.c: fix minor bugs in tokenizer --- evalue_read.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/evalue_read.c b/evalue_read.c index 5cf7318..d250b91 100644 --- a/evalue_read.c +++ b/evalue_read.c @@ -214,6 +214,7 @@ static struct token *stream_next_token(struct stream *s) return tok; } if (c == '>') { + int c; if ((c = stream_getc(s)) == '=') { tok = token_new(line, col, old_line != line); tok->type = TOKEN_GE; @@ -223,6 +224,7 @@ static struct token *stream_next_token(struct stream *s) stream_ungetc(s, c); } if (c == '!') { + int c; if ((c = stream_getc(s)) == '=') { tok = token_new(line, col, old_line != line); tok->type = TOKEN_NE; -- 2.11.4.GIT