vdoc: use the new suffix

pull/4360/head
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
1 changed files with 1 additions and 1 deletions

View File

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