scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

commit 11e057e823f48206c7e3115af2989d918c9e3025
parent d5f1295cee308bf12c075c8ee02bc8757f243b33
Author: Quentin Rameau <quinq@fifth.space>
Date:   Thu,  9 Mar 2017 15:25:06 +0100

[cc1] Fix boundary parameter in dodcl

Diffstat:
Mcc1/decl.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cc1/decl.c b/cc1/decl.c @@ -908,7 +908,7 @@ field(struct decl *dcl) static Symbol * dodcl(int rep, Symbol *(*fun)(struct decl *), unsigned ns, Type *parent) { - Symbol *sym, *pars[NR_FUNARG+1]; + Symbol *sym, *pars[NR_FUNPARAM+1]; Type *base; struct decl dcl; struct declarators stack;