Revert "Implement INCLUDE_ONCE directive (#1481)"

This reverts commit 5f07095f6d.
This commit is contained in:
Rangi42
2024-09-08 11:30:31 -04:00
parent 5f07095f6d
commit 8cd0e66297
8 changed files with 8 additions and 62 deletions

View File

@@ -17,12 +17,6 @@
#include "asm/lexer.hpp"
enum IncludeType {
INCLUDE_NORMAL,
INCLUDE_PRE,
INCLUDE_ONCE
};
struct FileStackNode {
FileStackNodeType type;
Either<
@@ -70,7 +64,7 @@ void fstk_SetPreIncludeFile(std::string const &path);
std::optional<std::string> fstk_FindFile(std::string const &path);
bool yywrap();
void fstk_RunInclude(std::string const &path, IncludeType type);
void fstk_RunInclude(std::string const &path, bool updateStateNow);
void fstk_RunMacro(std::string const &macroName, std::shared_ptr<MacroArgs> macroArgs);
void fstk_RunRept(uint32_t count, int32_t reptLineNo, ContentSpan const &span);
void fstk_RunFor(