* ada-lang.c (ada_evaluate_subexp): Add cases for BINOP_LOGICAL_AND,

BINOP_LOGICAL_OR, UNOP_LOGICAL_NOT, BINOP_BITWISE_IOR,
        BINOP_BITWISE_XOR, BINOP_BITWISE_AND.
        * language.c (lang_bool_type): Add Ada case.
This commit is contained in:
Joel Brobecker
2007-12-28 06:13:51 +00:00
parent a6017fbaa5
commit 2330c6c69c
3 changed files with 27 additions and 0 deletions

View File

@@ -801,6 +801,7 @@ lang_bool_type (void)
return builtin_type_f_logical_s2;
case language_cplus:
case language_pascal:
case language_ada:
if (current_language->la_language==language_cplus)
{sym = lookup_symbol ("bool", NULL, VAR_DOMAIN, NULL, NULL);}
else
@@ -821,6 +822,7 @@ lang_bool_type (void)
return type;
}
return java_boolean_type;
default:
return builtin_type_int;
}