This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: C constant expressions proposals
- From: James E Wilson <wilson at specifixinc dot com>
- To: "Joseph S. Myers" <jsm at polyomino dot org dot uk>
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 13 Aug 2004 18:05:00 -0700
- Subject: Re: C constant expressions proposals
- References: <Pine.LNX.4.61.0408102349580.12535@digraph.polyomino.org.uk>
Joseph S. Myers wrote:
I have now prepared detailed semi-formal models of the interpretation of
the C constant expression rules, and their extension to GNU C, along with
It looks very thorough. My eyes were starting to glaze over a bit
before I got to the end, but it looks like a good reference to use to
determine whether something is a constant expression.
I found this
E : E1 (optional list E2, E3, ...)
a little confusing, because at first glance it isn't obvious that the
list is optional, but the parentheses are not. Hence this is a function
call.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com