fix(parser): depth counter in module handler, stray } cleanup, token count debug

This commit is contained in:
2026-06-07 17:06:36 +03:00
parent 88af8b09d4
commit 134e8e877d
2 changed files with 22 additions and 2 deletions
+3
View File
@@ -541,6 +541,9 @@ func Cli_BuildProject(projectDir: String) -> int {
return 1;
}
let lex: *Lexer = Lexer_Tokenize(source);
Print(" [tokens: ");
PrintInt(lex.tokenCount as int64);
PrintLine("]");
if Lexer_DiagCount(lex) > 0 {
Print(" Lex errors in ");
PrintLine(path);