2 ** Copyright (C) University of Virginia, Massachusetts Institue of Technology 1994-2003.
3 ** See ../LICENSE for license information.
10 ** TypeSpecification is an enum defined for each of the valid C type.
15 TS_UNKNOWN, TS_VOID, TS_CHAR, TS_INT,
16 TS_SIGNED, TS_UNSIGNED, TS_SHORT, TS_LONG,
17 TS_FLOAT, TS_DOUBLE, TS_ENUM, TS_STRUCT,
22 ** TypeSpec is an enum for each of the valid combinations of type specifiers.
28 TYS_CHAR, TYS_SCHAR, TYS_UCHAR,
30 TYS_INT, TYS_SINT, TYS_UINT,
32 TYS_FLOAT, TYS_DOUBLE, TYS_LDOUBLE,
33 TYS_ENUM, TYS_STRUCT, TYS_UNION,
37 typedef bits lclctype;
39 extern lclctype fixBits(TypeSpecification p_attr, lclctype p_spec);
40 # define fixBits(attr, spec) ((unsigned)(1<<(attr) | (spec)))
42 extern lsymbol lclctype_toSort(lclctype p_t);
43 extern lsymbol lclctype_toSortDebug(lclctype p_t);
46 # error "Multiple include"