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

vdoc: use the new suffix

This commit is contained in:
yuyi 2020-04-12 08:50:19 +08:00 committed by GitHub
parent 0a03797694
commit c3e78b8c8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,7 +42,7 @@ pub fn doc(mod string, table &table.Table) string {
if !file.ends_with('.v') {
continue
}
if file.ends_with('_test.v') || file.ends_with('_windows.v') || file.ends_with('_macos.v') {
if file.ends_with('_test.v') || file.ends_with('_windows.c.v') || file.ends_with('_macos.c.v') {
continue
}
file_ast := parser.parse_file(os.join_path(path,file), table, .skip_comments, &pref.Preferences{}, &ast.Scope{parent: 0})