]> git.sur5r.net Git - cc65/blobdiff - src/ar65/objfile.c
Mark the symbol that is the name of a scope with the size of that scope
[cc65] / src / ar65 / objfile.c
index c8df70e59d3530966ba35e9c2e0a5467df87b625..bfc3dd1756947a57fa027fb95f88f0f8e1ccb0cf 100644 (file)
@@ -217,6 +217,11 @@ void ObjReadData (FILE* F, ObjData* O)
             (void) Read32 (F);
         }
 
+        /* Skip the size if necessary */
+        if (SYM_HAS_SIZE (Type)) {
+            (void) ReadVar (F);
+        }
+
         /* Line info indices */
         SkipLineInfoList (F);
     }