* src/SDCCsymt.h,
authorepetrich <epetrich@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Thu, 1 Jan 2004 17:10:04 +0000 (17:10 +0000)
committerepetrich <epetrich@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Thu, 1 Jan 2004 17:10:04 +0000 (17:10 +0000)
* 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
src/SDCCsymt.h

index 9f7ff2d7910ec5e2cf554a3b50f2167ec3d91bc9..ef4db4fb336a33e67214cde31188605565869aba 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2004-01-01 Erik Petrich <epetrich@ivorytower.norman.ok.us>
+
+       * src/SDCCsymt.h: missing from yesterday's commits
+
 2003-12-31 Erik Petrich <epetrich@ivorytower.norman.ok.us>
 
        * src/SDCC.y (struct_or_union_specifier),
index c9e2adc3a268ecae6e81d5563cfd3101ae193fad..8632c1634de9ee987779615a05441a62712e0e93 100644 (file)
@@ -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;