SYM_UNION
[SYM_UNION] = "SYM_UNION",
case SYM_UNION:
if (type->type == SYM_UNION) {
if (!type || type->type != SYM_UNION)
if (type->type == SYM_UNION) {
if (!type || type->type != SYM_UNION)
base_type->type == SYM_UNION)
if (type->type == SYM_UNION)
case SYM_UNION: {
case SYM_UNION:
if (type->type != SYM_STRUCT && type->type != SYM_UNION)
case SYM_STRUCT: case SYM_UNION: //case SYM_ENUM:
if (t->type != SYM_UNION || !t->transparent_union)
if (ctype->type != SYM_UNION && ctype->type != SYM_STRUCT)
if (!ctype || (ctype->type != SYM_STRUCT && ctype->type != SYM_UNION)) {
if (ctype->type != SYM_STRUCT && ctype->type != SYM_UNION) {
[SYM_UNION] = TYPE_COMPOUND,
case SYM_UNION:
if (ctx->ctype.base_type && ctx->ctype.base_type->type == SYM_UNION)
case SYM_UNION:
return struct_union_enum_specifier(SYM_UNION, token, ctx, parse_union_declaration);
case SYM_UNION:
case SYM_UNION:
[SYM_UNION] = "unin",
if (!type || type->type != SYM_UNION)
type->type != SYM_UNION)
if (!inner_type || inner_type->type != SYM_UNION)
if (type->type == SYM_UNION || type->type == SYM_STRUCT) {
if (type->type == SYM_UNION || type->type == SYM_STRUCT) {
(struct_type->type != SYM_STRUCT && struct_type->type != SYM_UNION))
if (sym->type == SYM_UNION)
if (sym->type == SYM_UNION) {
if (tmp && (tmp->type == SYM_STRUCT || tmp->type == SYM_UNION)) {
if (type->type == SYM_UNION || type->type == SYM_STRUCT) {
if (type->type == SYM_UNION || type->type == SYM_STRUCT) {
if (type->type == SYM_STRUCT || type->type == SYM_UNION) {
left_type->type != SYM_UNION)
type->type == SYM_UNION)
if (type->type == SYM_UNION || type->type == SYM_STRUCT) {
if (type->type == SYM_UNION || type->type == SYM_STRUCT) {
if (type->type == SYM_UNION)
} else if (type->type == SYM_UNION) {
case SYM_UNION:
case SYM_STRUCT: case SYM_UNION: case SYM_ARRAY:
case SYM_UNION:
case SYM_UNION:
[SYM_UNION] = "union",
if (m & MOD_INLINE || t == SYM_STRUCT || t == SYM_UNION /*|| t == SYM_ENUM*/)