Skip to content

Commit

Permalink
Merge pull request #4963 from WalterBright/rmSYMBOLY
Browse files Browse the repository at this point in the history
remove SYMBOLY from back end
  • Loading branch information
yebblies authored and WalterBright committed Aug 27, 2015
1 parent bf7e8c3 commit 86f6434
Show file tree
Hide file tree
Showing 3 changed files with 619 additions and 416 deletions.
22 changes: 0 additions & 22 deletions src/backend/cdef.h
Expand Up @@ -980,35 +980,13 @@ union eve
#define IDSYMBOL
#endif

#if SCPP
#define SYMBOLZERO 0,0,0,
#elif MARS
#define SYMBOLZERO 0,0,
#else
#define SYMBOLZERO
#endif

#if TARGET_LINUX || TARGET_FREEBSD || TARGET_OPENBSD || TARGET_SOLARIS
#define UNIXFIELDS (unsigned)-1,(unsigned)-1,0,0,
#elif TARGET_OSX
#define UNIXFIELDS (unsigned)-1,(unsigned)-1,0,0,0,
#else
#define UNIXFIELDS
#endif

typedef unsigned SYMFLGS;
#if MARS
#define SYM_PREDEF_SZ 40
#else
#define SYM_PREDEF_SZ 22
#endif

#define SYMBOLY(fl,regsaved,name,flags) \
{IDSYMBOL \
(symbol *)0,(symbol *)0,(symbol *)0,(dt_t *)0,0,(type *)0,{0},\
SYMBOLZERO\
UNIXFIELDS\
SCextern,(fl),(flags),0,0,0,0,0,0,0,{0},(regsaved),{name}}

/**********************************
* Storage classes
Expand Down

0 comments on commit 86f6434

Please sign in to comment.