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

cgen: fix getn_cross_tmp_variable

This commit is contained in:
Alexander Medvednikov
2020-07-01 19:19:49 +02:00
parent dbcb23ddc8
commit 625ed030ef
3 changed files with 7 additions and 3 deletions

View File

@ -31,6 +31,9 @@ fn main() {
}
fn vet_file(path string, table &table.Table, prefs &pref.Preferences) {
if path.contains('/tests') {
return
}
file_ast := parser.parse_file(path, table, .parse_comments, prefs, &ast.Scope{
parent: 0
})