More work on scope suport.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5119 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -60,10 +60,7 @@ typedef struct Scope Scope;
|
||||
struct Scope {
|
||||
unsigned Id; /* Id of scope */
|
||||
ObjData* Obj; /* Object file that exports the name */
|
||||
union {
|
||||
unsigned Id; /* Id of parent scope */
|
||||
Scope* Scope; /* Pointer to parent scope */
|
||||
} Parent;
|
||||
unsigned ParentId; /* Id of parent scope */
|
||||
unsigned LexicalLevel; /* Lexical level */
|
||||
unsigned Flags;
|
||||
unsigned Type; /* Type of scope */
|
||||
@@ -83,8 +80,8 @@ struct Scope {
|
||||
Scope* ReadScope (FILE* F, ObjData* Obj, unsigned Id);
|
||||
/* Read a scope from a file, insert and return it */
|
||||
|
||||
void ResolveScopes (ObjData* Obj);
|
||||
/* Resolve a scope list. */
|
||||
void PrintDbgScopes (FILE* F);
|
||||
/* Output the scopes to a debug info file */
|
||||
|
||||
|
||||
|
||||
@@ -93,4 +90,4 @@ void ResolveScopes (ObjData* Obj);
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user