--- researchv9/cmd/sun/mip/cgram.y 2018/04/24 17:21:59 1.1 +++ researchv9/cmd/sun/mip/cgram.y 2018/04/24 17:25:10 1.1.1.2 @@ -145,7 +145,12 @@ static char sccsid[] = "@(#)cgram.y 1.1 ext_def_list: ext_def_list external_def | - =ftnend(); + ={ + ftnend(); +#ifndef LINT + beg_file(); +#endif + } ; external_def: data_def ={ curclass = SNULL; blevel = 0; } @@ -161,9 +166,6 @@ data_def: ={ $1->in.op = FREE; } | oattributes fdeclarator { defid( tymerge($1,$2), curclass==STATIC?STATIC:EXTDEF ); -#ifndef LINT - pfstab( STP($2->tn.rval)->sname ); -#endif } function_body ={ if( blevel ) cerror( "function level error" );