Lines lexed statistic

This commit is contained in:
Krzosa Karol
2023-04-16 14:38:41 +02:00
parent 9b035e85af
commit a2662d1cd8
4 changed files with 4 additions and 8 deletions

View File

@@ -696,6 +696,7 @@ lex_restream(Core_Ctx *lexer, String istream, String file) {
lexer->stream.indent_stack.allocator = lexer->scratch;
lexer->stream.indent_stack.add(&lexer->same_scope_token);
lex__stream(lexer);
lexer->lines_lexed += lexer->stream.line;
}
//-----------------------------------------------------------------------------