SYM_ARRAY
[SYM_ARRAY] = "SYM_ARRAY",
if (!type || type->type != SYM_ARRAY)
if ((get_base_type(sym))->type == SYM_ARRAY)
if (!sym || sym->type != SYM_ARRAY)
if (basetype->type == SYM_ARRAY) {
if (base->type != SYM_ARRAY)
if (!type || type->type != SYM_ARRAY)
if (!type || type->type != SYM_ARRAY)
if (!type || type->type != SYM_ARRAY)
base_type->type == SYM_ARRAY ||
if (type->type == SYM_ARRAY)
case SYM_ARRAY:
(type->type != SYM_ARRAY)) {
case SYM_ARRAY:
break; case SYM_ARRAY:
case SYM_ARRAY:
if (type->type == SYM_ARRAY) {
return type->type == SYM_PTR || type->type == SYM_ARRAY;
struct symbol *array = alloc_symbol(expr->pos, SYM_ARRAY);
case SYM_ARRAY:
if (arg->type == SYM_ARRAY)
if (degenerate && sym->type == SYM_ARRAY) {
case SYM_ARRAY:
case SYM_ARRAY:
case SYM_ARRAY:
if (ctype->type != SYM_ARRAY) {
[SYM_ARRAY] = TYPE_PTR | TYPE_COMPOUND,
return type->type == SYM_ARRAY && is_byte_type(type->ctype.base_type);
case SYM_ARRAY:
if (type->ctype.base_type && type->ctype.base_type->type == SYM_ARRAY)
array = alloc_symbol(token->pos, SYM_ARRAY);
array = alloc_indirect_symbol(token->pos, ctype, SYM_ARRAY);
if (!sym || (sym->type != SYM_NODE && sym->type != SYM_ARRAY &&
case SYM_ARRAY:
[SYM_ARRAY] = "arry",
type->type == SYM_ARRAY ||
if (!type || type->type != SYM_ARRAY)
if (!type || type->type != SYM_ARRAY)
if (!type || type->type != SYM_ARRAY)
if (type->type != SYM_PTR && type->type != SYM_ARRAY)
if (type && type->type == SYM_ARRAY)
if (type->type != SYM_PTR && type->type != SYM_ARRAY)
if (!type || type->type != SYM_ARRAY)
if (type->type != SYM_ARRAY)
if (type->type != SYM_ARRAY && type->type != SYM_PTR)
if (!type || type->type != SYM_ARRAY)
if (type && type->type == SYM_ARRAY)
if (!type || (type->type != SYM_PTR && type->type != SYM_ARRAY))
if (!array_type || array_type->type != SYM_ARRAY)
if (type->type != SYM_PTR && type->type != SYM_ARRAY)
if (type->type == SYM_ARRAY)
if (type && type->type == SYM_ARRAY)
if (type && type->type == SYM_ARRAY)
if (get_real_base_type(sym)->type == SYM_ARRAY)
if (get_real_base_type(sym)->type == SYM_ARRAY) {
if (!array && type && type->type == SYM_ARRAY)
if (type->type == SYM_PTR || type->type == SYM_ARRAY) {
if (type->type == SYM_PTR || type->type == SYM_ARRAY) {
if (type->type == SYM_PTR || type->type == SYM_ARRAY) {
if (struct_type->type == SYM_ARRAY) {
if (type->type != SYM_ARRAY && type->type != SYM_PTR)
if (type->type == SYM_ARRAY)
if (!type || type->type != SYM_ARRAY)
if (type && type->type == SYM_ARRAY)
if (type->type == SYM_ARRAY)
(type->type == SYM_ARRAY ||
if (!type || type->type != SYM_ARRAY)
if (!type || type->type != SYM_ARRAY)
(type->type == SYM_ARRAY || type->type == SYM_FN) &&
type->type == SYM_ARRAY ||
if (!type || (type->type != SYM_PTR && type->type != SYM_ARRAY))
if (type->type == SYM_ARRAY)
if (type->type != SYM_PTR && type->type != SYM_ARRAY)
if (!right || !type || type->type == SYM_ARRAY)
if (type->type == SYM_ARRAY)
if (type->type == SYM_ARRAY)
return (sval.type->type == SYM_PTR || sval.type->type == SYM_ARRAY);
if (left->type == SYM_PTR || left->type == SYM_ARRAY)
if (right->type == SYM_PTR || right->type == SYM_ARRAY)
if (sym->type != SYM_PTR && sym->type != SYM_ARRAY)
if (type && type->type == SYM_ARRAY)
if (!type || type->type != SYM_ARRAY)
} else if (type->type == SYM_ARRAY) {
left_type->type != SYM_ARRAY)
right_type->type != SYM_ARRAY)
if (type && (type->type == SYM_ARRAY || type->type == SYM_STRUCT))
case SYM_ARRAY:
case SYM_STRUCT: case SYM_UNION: case SYM_ARRAY:
struct symbol *arr_new = alloc_symbol(node->pos, SYM_ARRAY);
if (bit_size < 0 && base_type->type == SYM_ARRAY) {
case SYM_ARRAY:
[SYM_ARRAY] = "array",
return type->type == SYM_PTR || type->type == SYM_ARRAY || type->type == SYM_FN;
return type->type == SYM_ARRAY;