From c3e78b8c8f4ef18b4b720c40c9b4940a3c71641d Mon Sep 17 00:00:00 2001 From: yuyi Date: Sun, 12 Apr 2020 08:50:19 +0800 Subject: [PATCH] vdoc: use the new suffix --- vlib/v/doc/doc.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/v/doc/doc.v b/vlib/v/doc/doc.v index 59beb06ab0..986f43eb6e 100644 --- a/vlib/v/doc/doc.v +++ b/vlib/v/doc/doc.v @@ -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})