Path: utzoo!attcan!uunet!lll-winken!ames!haven!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn ) Newsgroups: comp.std.c Subject: Re: scope of a structure tag Keywords: scope structure tag Message-ID: <9327@smoke.BRL.MIL> Date: 10 Jan 89 18:23:09 GMT References: <18915@agate.BERKELEY.EDU> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 12 In article <18915@agate.BERKELEY.EDU> holub@violet.berkeley.edu () writes: >Does the scope of a structure tag extend from the point of declaration to >the end of the current compound statement or whatever (as I suspect) or >can you define substructures with identical tags but different fields? Structure tags have file, block, or (with ANSI C) prototype scope, depending on where they occur. The {} in a structure declaration do not delimit a block. >Is my assumption correct? Yes.