Add missing word in comment (ada-lang.c)

gdb/ChangeLog:

        * ada-lang.c (ada_evaluate_subexp): Add missing word in comment.
This commit is contained in:
Joel Brobecker 2011-07-01 18:25:59 +00:00
parent 828292f271
commit 8f465ea731
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2011-07-01 Joel Brobecker <brobecker@adacore.com>
* ada-lang.c (ada_evaluate_subexp): Add missing word in comment.
2011-07-01 Eric Botcazou <ebotcazou@adacore.com> 2011-07-01 Eric Botcazou <ebotcazou@adacore.com>
* ada-lang.c (thin_descriptor_type): Deal with typedefs. * ada-lang.c (thin_descriptor_type): Deal with typedefs.

View file

@ -9386,8 +9386,8 @@ ada_evaluate_subexp (struct type *expect_type, struct expression *exp,
type = ada_check_typedef (value_type (argvec[0])); type = ada_check_typedef (value_type (argvec[0]));
/* Ada allows us to implicitly dereference arrays when subscripting /* Ada allows us to implicitly dereference arrays when subscripting
them. So, if this is an typedef (encoding use for array access them. So, if this is an array typedef (encoding use for array
types encoded as fat pointers), strip it now. */ access types encoded as fat pointers), strip it now. */
if (TYPE_CODE (type) == TYPE_CODE_TYPEDEF) if (TYPE_CODE (type) == TYPE_CODE_TYPEDEF)
type = ada_typedef_target_type (type); type = ada_typedef_target_type (type);