scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

commit 9e97f6d8b18b7334e1f45e09e3a27c59989d2c86
parent 65457f98c6d5440e3f5f888c861d18e18b6013e7
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Wed, 20 Jan 2016 11:09:19 +0100

Discard field name in fielddesig()

Once the field was read we don't need the token anymore,
and we have to pass to the next token.

Diffstat:
Mcc1/init.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/cc1/init.c b/cc1/init.c @@ -66,6 +66,7 @@ fielddesig(Init *ip) } for (p = tp->p.fields; *p != sym; ++p) /* nothing */; + next(); return p - tp->p.fields; }