# HG changeset patch # User kono # Date 1162312937 -32400 # Node ID 90274e6d4d5a8ca24f2b2d6d994ff4ca5eacd577 # Parent 04211a2cf2271f89bb6d63b6a51ac983ad3e671e *** empty log message *** diff -r 04211a2cf227 -r 90274e6d4d5a mc-parse.c --- a/mc-parse.c Wed Nov 01 01:27:11 2006 +0900 +++ b/mc-parse.c Wed Nov 01 01:42:17 2006 +0900 @@ -899,7 +899,10 @@ while (sym==ATTRIBUTE||sym==ASM) { getsym(0); attributes(); } if(sym==LC || ( sym!=SM && sym!=COMMA && sym!=ASS)) { /* function body */ - if (mode!=GDECL) error(DCERR); + if (mode!=GDECL) { + error(DCERR); + return; // we cannot trust it's arguments + } stypedecl=sd; if (type<0) error(DCERR); else if (car(type)==CODE) {