fixed public functions requiring a forward
--HG-- branch : dvander extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/branches/dvander%4014
This commit is contained in:
parent
97312faf3d
commit
3f8c9a83ad
@ -3226,11 +3226,13 @@ static int newfunc(char *firstname,int firsttag,int fpublic,int fstatic,int stoc
|
||||
sc_status=curstatus;
|
||||
sc_reparse=TRUE; /* must add another pass to "initial scan" phase */
|
||||
} /* if */
|
||||
#if 0 /* Not used for SourceMod */
|
||||
/* we want public functions to be explicitly prototyped, as they are called
|
||||
* from the outside
|
||||
*/
|
||||
if (fpublic && (sym->usage & uFORWARD)==0)
|
||||
error(235,symbolname);
|
||||
#endif
|
||||
/* declare all arguments */
|
||||
argcnt=declargs(sym,TRUE);
|
||||
opererror=!operatoradjust(opertok,sym,symbolname,tag);
|
||||
|
Loading…
Reference in New Issue
Block a user