git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@875
4a8a32a2-be11-0410-ad9d-
d568d2c75423
#include "SDCCsymt.h"
#include "SDCCval.h"
#include "SDCCset.h"
+#include "SDCCmem.h"
#define EX_OP 0
#define EX_VALUE 1
int i; /* index into the hash Table */
bucket *bp; /* temp bucket * */
- checkTypeSanity(((symbol *)sym)->etype, sname);
+ /* Make sure sym is a symbol and not a structdef */
+ if (StructTab!=stab) checkTypeSanity(((symbol *)sym)->etype, sname);
/* the symbols are always added at the head of the list */
i = hashKey (sname);