Commit 442cb32d by Per Bothner

Clarify comment on INTEGER_TYPE.

From-SVN: r3618
parent bd814d97
...@@ -121,11 +121,13 @@ DEFTREECODE (BLOCK, "block", "b", 0) ...@@ -121,11 +121,13 @@ DEFTREECODE (BLOCK, "block", "b", 0)
DEFTREECODE (VOID_TYPE, "void_type", "t", 0) /* The void type in C */ DEFTREECODE (VOID_TYPE, "void_type", "t", 0) /* The void type in C */
/* Integer types in all languages, including char in C. */ /* Integer types in all languages, including char in C.
/* Has components TYPE_MIN_VALUE, TYPE_MAX_VALUE (expressions, inclusive) Also used for sub-ranges of other discrete types.
Has components TYPE_MIN_VALUE, TYPE_MAX_VALUE (expressions, inclusive)
and TYPE_PRECISION (number of bits used by this type). and TYPE_PRECISION (number of bits used by this type).
In the case of a subrange type in Pascal, the TREE_TYPE In the case of a subrange type in Pascal, the TREE_TYPE
of this will point at the supertype (another INTEGER_TYPE). of this will point at the supertype (another INTEGER_TYPE,
or an ENUMERAL_TYPE, CHAR_TYPE, or BOOLEAN_TYPE).
Otherwise, the TREE_TYPE is zero. */ Otherwise, the TREE_TYPE is zero. */
DEFTREECODE (INTEGER_TYPE, "integer_type", "t", 0) DEFTREECODE (INTEGER_TYPE, "integer_type", "t", 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment