scc

Simple C99 Compiler
Log | Files | Refs | README | LICENSE

commit 5cd22f4402bc8e5ca8fd4c82740beafaab5f68c3
parent 7acf1e8d391b8fea1b65700aa30bbf7ca27cc977
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Sat,  8 Mar 2014 13:59:57 +0100

Remove extra next() in initializer

This extra next() was consuming a valid token, so the expresion
was incorrectly parsed.

Diffstat:
decl.c | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git a/decl.c b/decl.c @@ -307,7 +307,6 @@ initializer(register struct ctype *tp) { if (!accept('=')) return NULL; - next(); if (accept('{')) { struct compound c;