/* Right child of a ctf expression can be any type of unary exp. */
break; /* OK */
case NODE_TYPE_DECLARATOR:
- case NODE_ENUM:
/*
- * We are the length of a type declarator or the size of an enum
- * container. We can only be a numeric constant.
+ * We are the length of a type declarator.
*/
switch (node->u.unary_expression.type) {
case UNARY_SIGNED_CONSTANT:
case NODE_FLOATING_POINT:
case NODE_INTEGER:
case NODE_STRING:
+ case NODE_ENUM:
case NODE_STRUCT_OR_VARIANT_DECLARATION:
case NODE_VARIANT:
case NODE_STRUCT: