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

@@ -211,7 +211,6 @@ bool yywrap(void)
if (!copy || !copy->iters)
fatalerror("Failed to duplicate REPT file node: %s\n", strerror(errno));
*copy->iters = *fileInfo->iters; // Copies `fileInfo->iters`
copy->node.next = NULL;
copy->node.referenced = false;
fileInfo = copy;