This commit is contained in:
nub31
2025-05-24 21:40:48 +02:00
parent 30b3df626a
commit 43766f6d97
10 changed files with 403 additions and 20 deletions

View File

@@ -69,7 +69,7 @@ internal static class Program
foreach (var filePath in filePaths)
{
var src = File.ReadAllText(filePath);
tokens.AddRange(Lexer.Lex(src, filePath));
tokens.AddRange(Lexer.Lex(src, new SourceFile(filePath, src)));
}
var module = Parser.ParseModule(tokens, rootFilePath);