1.1 --- a/templates/types.h Mon Nov 01 23:29:28 2021 +0100
1.2 +++ b/templates/types.h Tue Nov 02 00:05:23 2021 +0100
1.3 @@ -126,9 +126,10 @@
1.4
1.5 /* Attribute interpretation. */
1.6
1.7 -#define __NUM_TAG_BITS 1
1.8 -#define __TAG_INT 0b1
1.9 -#define __INTEGER(ATTR) ((ATTR).intvalue & __TAG_INT)
1.10 +#define __NUM_TAG_BITS 2
1.11 +#define __TAG_INT 0b01
1.12 +#define __TAG_MASK 0b11
1.13 +#define __INTEGER(ATTR) (((ATTR).intvalue & __TAG_MASK) == __TAG_INT)
1.14
1.15 /* Attribute value setting. */
1.16