We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d21eab9 commit 04cd71bCopy full SHA for 04cd71b
src/main.jule
@@ -113,9 +113,9 @@ fn containsBuildDirective(ast: &ast::AST): bool {
113
}
114
115
fn getAST(path: str, mut data: []byte): (&ast::AST, &builder::CommentMap) {
116
- mut file := token::Fileset.New(path)
+ mut file := token::FileSet.New(path)
117
unsafe { file.FillMut(data) }
118
- mut errors := token::Lex(file, token::Comments)
+ mut errors := token::ScanAll(file, token::Comments)
119
if len(errors) > 0 {
120
writeError("error: file could not formatted, have error(s): " + path)
121
ret nil, nil
0 commit comments