This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
what defines the gcc array range notation "..."?
- From: "Robert P. J. Day" <rpjday at mindspring dot com>
- To: gcc-help at gcc dot gnu dot org
- Cc: Mike Frysinger <vapier at gentoo dot org>
- Date: Tue, 16 Jan 2007 17:22:13 -0500 (EST)
- Subject: what defines the gcc array range notation "..."?
i notice, in the linux kernel source, numerous array initializers of
the form:
{ [ 0 ... whatever] = 0 ; }
or something similar. i'm aware of the gcc extension to support
ranges in *case* statements, but i'm not aware of where the *array*
range syntax is defined.
i don't see it as an official C99 feature, and it's not listed in
the gcc manual as an extension. so where does it come from? thanks.
rday