From c875d51a6f601e7e8d9381d202ee5320c874f0e5 Mon Sep 17 00:00:00 2001 From: epetrich Date: Thu, 1 Jan 2004 17:10:04 +0000 Subject: [PATCH] * src/SDCCsymt.h, * src/SDCC.y (struct_or_union_specifier), * support/Util/SDCCerr.c, * support/Util/SDCCerr.h: verify that struct & union tags are used as declared. git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3071 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- ChangeLog | 4 ++++ src/SDCCsymt.h | 1 + 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index 9f7ff2d7..ef4db4fb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2004-01-01 Erik Petrich + + * src/SDCCsymt.h: missing from yesterday's commits + 2003-12-31 Erik Petrich * src/SDCC.y (struct_or_union_specifier), diff --git a/src/SDCCsymt.h b/src/SDCCsymt.h index c9e2adc3..8632c163 100644 --- a/src/SDCCsymt.h +++ b/src/SDCCsymt.h @@ -86,6 +86,7 @@ typedef struct structdef unsigned char level; /* Nesting level */ struct symbol *fields; /* pointer to fields */ unsigned size; /* sizeof the table in bytes */ + int type; /* STRUCT or UNION */ } structdef; -- 2.47.2