[sv-bc] enum range with keyword

From: Bresticker, Shalom <shalom.bresticker@intel.com>
Date: Mon Mar 22 2010 - 06:31:09 PDT

Is it legal to define an enum constant range with a keyword as a base name:

enum {reg[2] } e;

On the one hand, 'reg' is a keyword.
On the other hand, the names being generated are reg0 and reg1.

I think it would not be allowed.

Thanks,
Shalom

Shalom Bresticker
Intel LAD DA, Jerusalem, Israel
+972 2 589 6582 (office)
+972 54 721 1033 (cell)
http://www.linkedin.com/in/shalombresticker

---------------------------------------------------------------------
Intel Israel (74) Limited

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Mon Mar 22 06:32:03 2010

This archive was generated by hypermail 2.1.8 : Mon Mar 22 2010 - 06:32:08 PDT