mirror of
https://github.com/cc65/cc65.git
synced 2025-01-26 17:36:57 +00:00
Merge pull request #137 from spiro-trikaliotis/notemittinglabels-alancox
Fix for: cc65 forgetting to emit labels (Alan Cox)
This commit is contained in:
commit
137041c59f
@ -268,7 +268,9 @@ void EnterFunctionLevel (void)
|
||||
TagTab = S;
|
||||
|
||||
/* Create and assign a new label table */
|
||||
LabelTab = NewSymTable (SYMTAB_SIZE_LABEL);
|
||||
S = NewSymTable (SYMTAB_SIZE_LABEL);
|
||||
S->PrevTab = LabelTab;
|
||||
LabelTab = S;
|
||||
}
|
||||
|
||||
|
||||
@ -286,6 +288,7 @@ void RememberFunctionLevel (struct FuncDesc* F)
|
||||
/* Don't delete the tables */
|
||||
SymTab = SymTab->PrevTab;
|
||||
TagTab = TagTab->PrevTab;
|
||||
LabelTab = LabelTab->PrevTab;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user