* ada-lang.c (resolve_subexp) [UNOP_QUAL]: Resolve typedefs before
trying to resolve the type qualification.
This commit is contained in:
parent
8008e2653f
commit
17466c1a8a
|
@ -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>
|
2009-03-23 Joel Brobecker <brobecker@adacore.com>
|
||||||
|
|
||||||
* ada-lang.c (ada_evaluate_subexp) [UNOP_IN_RANGE]: make sure
|
* ada-lang.c (ada_evaluate_subexp) [UNOP_IN_RANGE]: make sure
|
||||||
|
|
|
@ -2654,7 +2654,7 @@ resolve_subexp (struct expression **expp, int *pos, int deprocedure_p,
|
||||||
|
|
||||||
case UNOP_QUAL:
|
case UNOP_QUAL:
|
||||||
*pos += 3;
|
*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;
|
break;
|
||||||
|
|
||||||
case OP_ATR_MODULUS:
|
case OP_ATR_MODULUS:
|
||||||
|
|
Loading…
Reference in New Issue