* ada-lang.c (resolve_subexp) [UNOP_QUAL]: Resolve typedefs before

trying to resolve the type qualification.
This commit is contained in:
Joel Brobecker 2009-03-24 02:07:07 +00:00
parent 8008e2653f
commit 17466c1a8a
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2009-03-23 Joel Brobecker <brobecker@adacore.com>
* ada-lang.c (resolve_subexp) [UNOP_QUAL]: Resolve typedefs before
trying to resolve the type qualification.
2009-03-23 Joel Brobecker <brobecker@adacore.com>
* ada-lang.c (ada_evaluate_subexp) [UNOP_IN_RANGE]: make sure

View File

@ -2654,7 +2654,7 @@ resolve_subexp (struct expression **expp, int *pos, int deprocedure_p,
case UNOP_QUAL:
*pos += 3;
resolve_subexp (expp, pos, 1, exp->elts[pc + 1].type);
resolve_subexp (expp, pos, 1, check_typedef (exp->elts[pc + 1].type));
break;
case OP_ATR_MODULUS: