parser: make .parse() public (#6693)

pull/6695/head
Ned Palacios 2020-10-29 14:10:45 +08:00 committed by GitHub
parent 21002bf2de
commit ce7da85166
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ pub fn parse_vet_file(path string, table_ &table.Table, pref &pref.Preferences)
return file, p.vet_errors
}
fn (mut p Parser) parse() ast.File {
pub fn (mut p Parser) parse() ast.File {
// comments_mode: comments_mode
p.init_parse_fns()
p.read_first_token()