Skip to content

Commit ce7da85

Browse files
authored
parser: make .parse() public (#6693)
1 parent 21002bf commit ce7da85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vlib/v/parser/parser.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ pub fn parse_vet_file(path string, table_ &table.Table, pref &pref.Preferences)
157157
return file, p.vet_errors
158158
}
159159

160-
fn (mut p Parser) parse() ast.File {
160+
pub fn (mut p Parser) parse() ast.File {
161161
// comments_mode: comments_mode
162162
p.init_parse_fns()
163163
p.read_first_token()

0 commit comments

Comments
 (0)