Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c > #151257
| From | Tim Rentsch <tr.17687@z991.linuxsc.com> |
|---|---|
| Newsgroups | comp.lang.c |
| Subject | Re: direct-declarator or direct-abstract-declarator? |
| Date | 2020-04-09 06:52 -0700 |
| Organization | A noiseless patient Spider |
| Message-ID | <86h7xsn4vr.fsf@linuxsc.com> (permalink) |
| References | <r6n2lg$tlg$1@gioia.aioe.org> |
Johann Klammer <klammerj@NOSPAM.a1.net> writes:
> [considering this code, excerpted from n2176, page 100:]
>
> typedef signed int t;
> t f(t (t));
>
> [About the declaration of f it is said:]
> a function f is declared with type
> "function returning signed int
> with one unnamed parameter
> with type pointer to function returning signed int
> with one unnamed parameter with type signed int"
>
> [...]
>
> So how do I get to the typedef name 't' there towards the end
> with the grammar specified?
t f( t ( t ) );
^ ^ ^ ^ ^
+ direct-abstract-declarator{opt} + + parameter-type-list + |
| |
| |
+------------- direct-abstract-declarator -----------------+
Does this help clarify things?
Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
direct-declarator or direct-abstract-declarator? Johann Klammer <klammerj@NOSPAM.a1.net> - 2020-04-09 13:58 +0200
Re: direct-declarator or direct-abstract-declarator? Tim Rentsch <tr.17687@z991.linuxsc.com> - 2020-04-09 06:52 -0700
Re: direct-declarator or direct-abstract-declarator? James Kuyper <jameskuyper@alumni.caltech.edu> - 2020-04-09 11:23 -0400
Re: direct-declarator or direct-abstract-declarator? Johann Klammer <klammerj@NOSPAM.a1.net> - 2020-04-09 19:20 +0200
csiph-web