Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: Scope of identifiers Date: Mon, 12 Jun 2017 09:39:33 -0700 Organization: None to speak of Lines: 19 Message-ID: References: <4cdb1833-5b0d-00a5-6f0a-888c7eddb670@verizon.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: mx02.eternal-september.org; posting-host="defc4e5ae30e31482245c2bebee97ffa"; logging-data="11657"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX186h2k3YhqBfNj+F/zlN+EQ" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:xGI0FjvPsF4wyRrzv7JIqP+mxyI= sha1:PYtxwCSSHpAoOFfTfh9wrNOShns= Xref: csiph.com comp.lang.c:112056 "James R. Kuyper" writes: [...] > Yes, which is why the standard say so explicitly, as in 6.2.1p6, so that > people don't make the mistake of thinking that scopes that begin at > different locations are different scopes. > > If it weren't for that rule, no two identifiers would ever have the same > scope, because every identifier has a scope that begins in a different > location. Except for label names. [...] -- Keith Thompson (The_Other_Keith) kst-u@mib.org Working, but not speaking, for JetHead Development, Inc. "We must do something. This is something. Therefore, we must do this." -- Antony Jay and Jonathan Lynn, "Yes Minister"