Move declarations.

This commit is contained in:
Y_Less 2020-03-27 18:36:07 +00:00
parent 06183b37ae
commit e74b8bb282

View File

@ -194,8 +194,8 @@ static void (*unopers[])(void) = { lneg, neg, user_inc, user_dec };
/* check existance and the proper declaration of this function */
if ((sym->usage & uMISSING)!=0 || (sym->usage & uPROTOTYPED)==0) {
char symname[2*sNAMEMAX+16]; /* allow space for user defined operators */
funcdisplayname(symname,sym->name);
char *ptr= (sym->documentation!=NULL) ? sym->documentation : "";
funcdisplayname(symname,sym->name);
if ((sym->usage & uMISSING)!=0)
error(4,symname,ptr); /* function not defined */
if ((sym->usage & uPROTOTYPED)==0)
@ -1880,8 +1880,8 @@ restart:
} /* if */
} else if ((sym->usage & uMISSING)!=0) {
char symname[2*sNAMEMAX+16]; /* allow space for user defined operators */
funcdisplayname(symname,sym->name);
char *ptr= (sym->documentation!=NULL) ? sym->documentation : "";
funcdisplayname(symname,sym->name);
error(4,symname,ptr); /* function not defined */
} /* if */
callfunction(sym,lval1,TRUE);