Path: csiph.com!news.swapon.de!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: Null pointer constant Date: Tue, 20 Jun 2017 13:07:42 -0700 Organization: None to speak of Lines: 19 Message-ID: References: <9zM1B.193976$KK7.183000@fx12.am4> <87shiwc4il.fsf@bsb.me.uk> <_2f2B.3566$oU1.2317@fx14.am4> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: mx02.eternal-september.org; posting-host="6d63db2e8ea996f9a358079ee566ecd1"; logging-data="7383"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/aX+6c69NTpKoFCVH68ioa" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:R8peK8Cm7Uco8XFU7STA2DZ8LkY= sha1:Jgp+Rr1JpSkNoqY5GTbB1X4wGMk= Xref: csiph.com comp.lang.c:112733 bartc writes: > On 20/06/2017 20:39, Keith Thompson wrote: >> And there are aspects that are not directly reflected in the grammar. >> For example, `(T)0` is an expression if and only if T is a type name, >> and the determination of whether T is a type name or not is not fully >> specified by the grammar. > > What else can (T)0 be? Assuming T represents an identifier rather than > an arbitrary type spec. A syntax error. [...] -- 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"