Use a Defer struct to close files and restore lexer state with RAII (#1379)

This commit is contained in:
Sylvie authored and GitHub committed 2024-03-27 10:42:53 -04:00
1 parent 32db0a0f18
commit a68bebf4a2
13 files changed
+131 -172

No files matched your search

-1
View File
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: MIT */
#include "asm/fstack.hpp"
#include <sys/stat.h>
#include <assert.h>