Fix up comment to match reality.

This commit is contained in:
Jan Kratochvil
2012-04-18 07:00:24 +00:00
parent 12df843f84
commit ac4ea3c206

View File

@ -27,8 +27,8 @@
PR symtab/7259: PR symtab/7259:
* ada-exp.y (convert_char_literal): Use TYPE_FIELD_ENUMVAL. * ada-exp.y (convert_char_literal): Use TYPE_FIELD_ENUMVAL.
* ada-lang.c (ada_discrete_type_high_bound) * ada-lang.c (ada_discrete_type_high_bound)
(ada_discrete_type_low_bound): Use TYPE_FIELD_ENUMVAL for (ada_discrete_type_low_bound): Fix function comment. Use
TYPE_CODE_ENUM. TYPE_FIELD_ENUMVAL for TYPE_CODE_ENUM.
(ada_identical_enum_types_p): Use TYPE_FIELD_ENUMVAL. (ada_identical_enum_types_p): Use TYPE_FIELD_ENUMVAL.
(pos_atr, value_val_atr): Use TYPE_FIELD_ENUMVAL for TYPE_CODE_ENUM. (pos_atr, value_val_atr): Use TYPE_FIELD_ENUMVAL for TYPE_CODE_ENUM.
* ada-typeprint.c (print_enum_type): Change variable lastval to LONGEST. * ada-typeprint.c (print_enum_type): Change variable lastval to LONGEST.