Use std::deque for file stack nodes

This commit is contained in:
Rangi42
2024-02-21 16:26:25 -05:00
committed by Sylvie
parent 26a93a530b
commit 1afc8554c0
3 changed files with 17 additions and 28 deletions

View File

@@ -19,7 +19,6 @@ struct FileStackNode {
// Line at which the parent context was exited; meaningless for the root level
uint32_t lineNo;
struct FileStackNode *next; // Next node in the output linked list
bool referenced; // If referenced, don't free!
uint32_t ID; // Set only if referenced: ID within the object file, -1 if not output yet