(print_node): Handle BOOLEAN_TYPE and CHAR_TYPE.

From-SVN: r2083
This commit is contained in:
Richard Stallman 1992-09-09 06:40:37 +00:00
parent 7308a047ab
commit 89b48889f1

View File

@ -432,7 +432,9 @@ print_node (file, prefix, node, indent)
if (TREE_CODE (node) == ARRAY_TYPE || TREE_CODE (node) == SET_TYPE)
print_node (file, "domain", TYPE_DOMAIN (node), indent + 4);
else if (TREE_CODE (node) == INTEGER_TYPE)
else if (TREE_CODE (node) == INTEGER_TYPE
|| TREE_CODE (node) == BOOLEAN_TYPE
|| TREE_CODE (node) == CHAR_TYPE)
{
fprintf (file, " precision %d", TYPE_PRECISION (node));
print_node (file, "min", TYPE_MIN_VALUE (node), indent + 4);