1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

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

This commit is contained in:
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

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()