Move declarations.
This commit is contained in:
parent
06183b37ae
commit
e74b8bb282
@ -194,8 +194,8 @@ static void (*unopers[])(void) = { lneg, neg, user_inc, user_dec };
|
|||||||
/* check existance and the proper declaration of this function */
|
/* check existance and the proper declaration of this function */
|
||||||
if ((sym->usage & uMISSING)!=0 || (sym->usage & uPROTOTYPED)==0) {
|
if ((sym->usage & uMISSING)!=0 || (sym->usage & uPROTOTYPED)==0) {
|
||||||
char symname[2*sNAMEMAX+16]; /* allow space for user defined operators */
|
char symname[2*sNAMEMAX+16]; /* allow space for user defined operators */
|
||||||
funcdisplayname(symname,sym->name);
|
|
||||||
char *ptr= (sym->documentation!=NULL) ? sym->documentation : "";
|
char *ptr= (sym->documentation!=NULL) ? sym->documentation : "";
|
||||||
|
funcdisplayname(symname,sym->name);
|
||||||
if ((sym->usage & uMISSING)!=0)
|
if ((sym->usage & uMISSING)!=0)
|
||||||
error(4,symname,ptr); /* function not defined */
|
error(4,symname,ptr); /* function not defined */
|
||||||
if ((sym->usage & uPROTOTYPED)==0)
|
if ((sym->usage & uPROTOTYPED)==0)
|
||||||
@ -1880,8 +1880,8 @@ restart:
|
|||||||
} /* if */
|
} /* if */
|
||||||
} else if ((sym->usage & uMISSING)!=0) {
|
} else if ((sym->usage & uMISSING)!=0) {
|
||||||
char symname[2*sNAMEMAX+16]; /* allow space for user defined operators */
|
char symname[2*sNAMEMAX+16]; /* allow space for user defined operators */
|
||||||
funcdisplayname(symname,sym->name);
|
|
||||||
char *ptr= (sym->documentation!=NULL) ? sym->documentation : "";
|
char *ptr= (sym->documentation!=NULL) ? sym->documentation : "";
|
||||||
|
funcdisplayname(symname,sym->name);
|
||||||
error(4,symname,ptr); /* function not defined */
|
error(4,symname,ptr); /* function not defined */
|
||||||
} /* if */
|
} /* if */
|
||||||
callfunction(sym,lval1,TRUE);
|
callfunction(sym,lval1,TRUE);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user