stage4/generate_cc/search_base_type.cc
changeset 32 289256ec66f1
parent 0 fb772792efd1
child 42 b45c7f34dec1
equal deleted inserted replaced
31:c6959b0f539d 32:289256ec66f1
    47       this->current_type_name = type_name;
    47       this->current_type_name = type_name;
    48       /* look up the type declaration... */
    48       /* look up the type declaration... */
    49       symbol_c *type_decl = type_symtable.find_value(type_name);
    49       symbol_c *type_decl = type_symtable.find_value(type_name);
    50       if (type_decl == type_symtable.end_value())
    50       if (type_decl == type_symtable.end_value())
    51         /* Type declaration not found!! */
    51         /* Type declaration not found!! */
    52 	ERROR;
    52         ERROR;
    53 
    53 
    54       return type_decl->accept(*this);
    54       return type_decl->accept(*this);
    55     }
    55     }
    56 
    56 
    57 /***********************************/
    57 /***********************************/