From: uz Date: Wed, 17 Aug 2011 15:50:53 +0000 (+0000) Subject: Renamed a struct member. X-Git-Tag: V2.13.3~271 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=386100dade1f5e81c873087058b865fc982a35c0;p=cc65 Renamed a struct member. git-svn-id: svn://svn.cc65.org/cc65/trunk@5191 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/dbginfo/dbginfo.c b/src/dbginfo/dbginfo.c index 518e46ad9..de412aa62 100644 --- a/src/dbginfo/dbginfo.c +++ b/src/dbginfo/dbginfo.c @@ -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; diff --git a/src/dbginfo/dbginfo.h b/src/dbginfo/dbginfo.h index f062c085d..b9d0627a2 100644 --- a/src/dbginfo/dbginfo.h +++ b/src/dbginfo/dbginfo.h @@ -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 */ };