From d61c5d3b16c55a0522629acb418d48c68be1efc2 Mon Sep 17 00:00:00 2001 From: Dale Weiler Date: Thu, 26 Sep 2013 08:09:55 -0400 Subject: [PATCH] Fix alias type check --- parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parser.c b/parser.c index 839e089..bfc8be4 100644 --- a/parser.c +++ b/parser.c @@ -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]; -- 2.39.2