Skip to content

Commit 04cd71b

Browse files
committed
juledoc: update to latest
1 parent d21eab9 commit 04cd71b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main.jule

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,9 @@ fn containsBuildDirective(ast: &ast::AST): bool {
113113
}
114114

115115
fn getAST(path: str, mut data: []byte): (&ast::AST, &builder::CommentMap) {
116-
mut file := token::Fileset.New(path)
116+
mut file := token::FileSet.New(path)
117117
unsafe { file.FillMut(data) }
118-
mut errors := token::Lex(file, token::Comments)
118+
mut errors := token::ScanAll(file, token::Comments)
119119
if len(errors) > 0 {
120120
writeError("error: file could not formatted, have error(s): " + path)
121121
ret nil, nil

0 commit comments

Comments
 (0)