summaryrefslogtreecommitdiff
path: root/src/parse/lex.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/parse/lex.hpp')
-rw-r--r--src/parse/lex.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/parse/lex.hpp b/src/parse/lex.hpp
index 77151bea..208fa670 100644
--- a/src/parse/lex.hpp
+++ b/src/parse/lex.hpp
@@ -125,6 +125,10 @@ class Lexer:
bool m_last_char_valid;
Codepoint m_last_char;
Token m_next_token; // Used when lexing generated two tokens
+
+ unsigned int m_file_index;
+ // Incremented on every ident and TT close, pushed on TT open
+ ::std::vector<unsigned int> m_hygine_stack;
public:
Lexer(const ::std::string& filename);