Simplify toggling of enabling/disabling expansions

This commit is contained in:
Rangi42 committed 2025-07-31 07:19:04 -04:00
1 parent 32b5ef5095
commit 6d53bc4121
2 files changed
+28 -36

No files matched your search

+2 -3
View File
@@ -92,9 +92,8 @@ struct LexerState {
size_t captureSize; // Amount of text captured
std::shared_ptr<std::vector<char>> captureBuf; // Buffer to send the captured text to if set
bool disableMacroArgs;
bool disableInterpolation;
size_t macroArgScanDistance; // Max distance already scanned for macro args
bool disableExpansions;
size_t expansionScanDistance; // Max distance already scanned for expansions
bool expandStrings;
std::deque<Expansion> expansions; // Front is the innermost current expansion