Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #142638

Re: Where can I find this in the standard?

From Ben Bacarisse <ben.usenet@bsb.me.uk>
Newsgroups comp.lang.c
Subject Re: Where can I find this in the standard?
Date 2019-03-31 16:35 +0100
Organization A noiseless patient Spider
Message-ID <87pnq783b0.fsf@bsb.me.uk> (permalink)
References <standard-20190331153242@ram.dialup.fu-berlin.de>

Show all headers | View raw


ram@zedat.fu-berlin.de (Stefan Ram) writes:

>   A name seems to be /declared/ after its declarator...
<cut>
>   . Where can I find the specification of this "point from
>   which on a name may be used" in the standard?

6.2.1 Scope of identifiers.  Paragraph 7:

  Structure, union, and enumeration tags have scope that begins just
  after the appearance of the tag in a type specifier that declares the
  tag. Each enumeration constant has scope that begins just after the
  appearance of its defining enumerator in an enumerator list. Any other
  identifier has scope that begins just after the completion of its
  declarator.

<cut>
-- 
Ben.

Back to comp.lang.c | Previous | Next | Find similar | Unroll thread


Thread

Re: Where can I find this in the standard? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2019-03-31 16:35 +0100

csiph-web