Allow any in new-style natives.

This commit is contained in:
David Anderson
2014-10-30 17:19:01 -07:00
parent 5d78a5ff93
commit eaff5c9364
4 changed files with 1 additions and 10 deletions
-3
View File
@@ -5470,9 +5470,6 @@ static int declargs(symbol *sym, int chkshadow, const int *thistag)
check_void_decl(&decl, TRUE);
if (decl.is_new && (sym->usage & uNATIVE) && decl.type.tag == pc_anytag)
error(156);
if (decl.type.ident == iVARARGS) {
assert(decl.type.numtags > 0);
if ((sym->usage & uPROTOTYPED)==0) {