* ada-lang.c (ada_is_character_type): Add recognition of type

"Wide_Wide_Character".
This commit is contained in:
Joel Brobecker 2007-12-24 16:52:24 +00:00
parent 7e261fc58b
commit 5a517ebd81
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2007-12-24 Joel Brobecker <brobecker@adacore.com>
* ada-lang.c (ada_is_character_type): Add recognition of type
"Wide_Wide_Character".
2007-12-24 Joel Brobecker <brobecker@adacore.com>
* dwarf2read.c (read_base_type): Set code to TYPE_CODE_CHAR

View File

@ -7301,6 +7301,7 @@ ada_is_character_type (struct type *type)
|| TYPE_CODE (type) == TYPE_CODE_RANGE)
&& (strcmp (name, "character") == 0
|| strcmp (name, "wide_character") == 0
|| strcmp (name, "wide_wide_character") == 0
|| strcmp (name, "unsigned char") == 0));
}