]> git.sur5r.net Git - cc65/commitdiff
Add predefined type strings for float and double
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sun, 6 Jun 2004 10:49:59 +0000 (10:49 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sun, 6 Jun 2004 10:49:59 +0000 (10:49 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@3105 b7a2c559-68d2-44c3-8de9-860c34a00d81

src/cc65/datatype.c
src/cc65/datatype.h

index 7aa50ad64fec6e7bac419d6cfc616fb21e581f9d..c57ba62ab941d06b9f96b7d9443be7dff5d6a17b 100644 (file)
 
 
 /* Predefined type strings */
-type type_uchar []             = { T_UCHAR,    T_END };
-type type_int []       = { T_INT,      T_END };
-type type_uint []      = { T_UINT,     T_END };
-type type_long []      = { T_LONG,     T_END };
-type type_ulong []     = { T_ULONG,    T_END };
-type type_void []      = { T_VOID,     T_END };
-type type_size_t []    = { T_SIZE_T,   T_END };
+type type_uchar[]       = { T_UCHAR,   T_END };
+type type_int[]         = { T_INT,     T_END };
+type type_uint[]        = { T_UINT,    T_END };
+type type_long[]        = { T_LONG,    T_END };
+type type_ulong[]       = { T_ULONG,   T_END };
+type type_void[]        = { T_VOID,    T_END };
+type type_size_t[]      = { T_SIZE_T,   T_END };
+type type_float[]       = { T_FLOAT,    T_END };
+type type_double[]      = { T_DOUBLE,   T_END };
 
 
 
index f921a8e45a44671c3714823eb117127e2ae68859..180654133f1c98c91ebef5799b7ed9fce6b7fe90 100644 (file)
@@ -161,13 +161,15 @@ typedef unsigned short type;
 #define SIZEOF_PTR      2
 
 /* Predefined type strings */
-extern type type_uchar [];
-extern type type_int [];
-extern type type_uint [];
-extern type type_long [];
-extern type type_ulong [];
-extern type type_void [];
-extern type type_size_t [];
+extern type type_uchar[];
+extern type type_int[];
+extern type type_uint[];
+extern type type_long[];
+extern type type_ulong[];
+extern type type_void[];
+extern type type_size_t[];
+extern type type_float[];
+extern type type_double[];