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

don't add generic parsers to v.files

This commit is contained in:
joe-conigliaro 2019-11-26 17:04:11 +11:00 committed by Alexander Medvednikov
parent 8d241cc164
commit 385c045e5a

View File

@ -695,6 +695,7 @@ pub fn (v mut V) add_v_files_to_compile() {
// add remaining main files last
for p in v.parsers {
if p.mod != 'main' { continue }
if p.is_vgen { continue }
v.files << p.file_path
}
}