1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-17 09:29:10 +00:00

Add predefined type strings for float and double

git-svn-id: svn://svn.cc65.org/cc65/trunk@3105 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2004-06-06 10:49:59 +00:00
parent 0f80f0e297
commit 651c6e5cbf
2 changed files with 18 additions and 14 deletions

View File

@ -57,13 +57,15 @@
/* 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 };

View 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[];