commit 1126acd115d8cded1f3b6a6e20134b60266f382e parent 84471603bc16659989db3fd5223b33772653b704 Author: Roberto E. Vargas Caballero <k0ga@shike2.com> Date: Mon, 11 May 2015 16:28:49 +0200 Fix follow() it was returning yes allways. Diffstat:
M | cc1/lex.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cc1/lex.c b/cc1/lex.c @@ -396,7 +396,7 @@ iden(void) static uint8_t follow(int expect, int ifyes, int ifno) { - if (*input->p++) + if (*input->p++ == expect) return ifyes; --input->p; return ifno;