Handle scopes with a label correctly. Add the label to the debug info file.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5133 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -59,9 +59,10 @@
|
||||
typedef struct Scope Scope;
|
||||
struct Scope {
|
||||
unsigned Id; /* Id of scope */
|
||||
ObjData* Obj; /* Object file that exports the name */
|
||||
ObjData* Obj; /* Object file that contains the scope */
|
||||
unsigned ParentId; /* Id of parent scope */
|
||||
unsigned LexicalLevel; /* Lexical level */
|
||||
unsigned LabelId; /* Id of the scope label if any */
|
||||
unsigned LexicalLevel; /* Lexical level */
|
||||
unsigned Flags;
|
||||
unsigned Type; /* Type of scope */
|
||||
unsigned Name; /* Name of scope */
|
||||
|
||||
Reference in New Issue
Block a user