]> git.sur5r.net Git - cc65/commitdiff
Renamed a struct member.
authoruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Wed, 17 Aug 2011 15:50:53 +0000 (15:50 +0000)
committeruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Wed, 17 Aug 2011 15:50:53 +0000 (15:50 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@5191 b7a2c559-68d2-44c3-8de9-860c34a00d81

src/dbginfo/dbginfo.c
src/dbginfo/dbginfo.h

index 518e46ad99d67f42620d292a57cccd9f0c878db4..de412aa6246fb87076bf398f2dd07941acd69987 100644 (file)
@@ -1264,7 +1264,7 @@ static int CompareModInfoByName (const void* L, const void* R)
 }
 
 
-                  
+
 /*****************************************************************************/
 /*                                Scope info                                 */
 /*****************************************************************************/
@@ -1317,9 +1317,9 @@ static void CopyScopeInfo (cc65_scopedata* D, const ScopeInfo* S)
     D->scope_type       = S->Type;
     D->scope_size       = S->Size;
     if (S->Parent.Info) {
-        D->scope_parent = S->Parent.Info->Id;
+        D->parent_id    = S->Parent.Info->Id;
     } else {
-        D->scope_parent = CC65_INV_ID;
+        D->parent_id    = CC65_INV_ID;
     }
     if (S->Label.Info) {
         D->symbol_id    = S->Label.Info->Id;
index f062c085dedb069619fbcf48cad77b2f948f2068..b9d0627a23cb9d541ff4ebd92ccbac23a5d4e213 100644 (file)
@@ -466,7 +466,7 @@ struct cc65_scopedata {
     const char*         scope_name;     /* Name of scope */
     cc65_scope_type     scope_type;     /* Type of scope */
     cc65_size           scope_size;     /* Size of scope, 0 if unknown */
-    unsigned            scope_parent;   /* Id of parent scope */
+    unsigned            parent_id;      /* Id of parent scope */
     unsigned            symbol_id;      /* Id of scope symbol if any */
     unsigned            module_id;      /* Id of the module */
 };