Use std::deque for file stack nodes

This commit is contained in:
Rangi42 authored and Sylvie committed 2024-02-29 13:44:08 -05:00
1 parent 26a93a530b
commit 1afc8554c0
3 files changed
+17 -28

No files matched your search

-1
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;