1.1 --- a/templates/types.h Sat Feb 11 15:34:30 2017 +0100
1.2 +++ b/templates/types.h Sat Feb 11 16:04:40 2017 +0100
1.3 @@ -19,8 +19,6 @@
1.4 #ifndef __TYPES_H__
1.5 #define __TYPES_H__
1.6
1.7 -#include <stddef.h> /* size_t */
1.8 -
1.9 /* Define code and position types, populated by enum values defined for each
1.10 program specifically. */
1.11
1.12 @@ -82,16 +80,13 @@
1.13 struct __attr (*inv)(); /* unbound callable details */
1.14 struct __attr (*fn)(); /* callable details */
1.15 };
1.16 - struct {
1.17 - size_t size; /* size of value */
1.18 - union
1.19 - {
1.20 - int intvalue; /* integer value */
1.21 - double floatvalue; /* floating point value */
1.22 - char * strvalue; /* string value */
1.23 - __fragment * seqvalue; /* sequence data */
1.24 - void * datavalue; /* object-specific data */
1.25 - };
1.26 + union
1.27 + {
1.28 + int intvalue; /* integer value */
1.29 + double floatvalue; /* floating point value */
1.30 + char * strvalue; /* string value */
1.31 + __fragment * seqvalue; /* sequence data */
1.32 + void * datavalue; /* object-specific data */
1.33 };
1.34 };
1.35 } __attr;