Fix alias type check

This commit is contained in:
Dale Weiler 2013-09-26 08:09:55 -04:00
parent 15b0555546
commit d61c5d3b16

View file

@ -5308,7 +5308,7 @@ static bool parse_variable(parser_t *parser, ast_block *localblock, bool nofield
return false;
}
if (var->expression.vtype != find->vtype) {
if (!ast_compare_type((ast_expression*)var, find)) {
char ty1[1024];
char ty2[1024];