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

examples: fix news_fetcher on Windows

This commit is contained in:
Alexander Medvednikov
2019-07-24 02:35:25 +02:00
parent fcb1f211e3
commit 7f29928aec
4 changed files with 18 additions and 12 deletions

View File

@@ -401,7 +401,7 @@ _thread_so = CreateThread(0, 0, (LPTHREAD_START_ROUTINE)&reload_so, 0, 0, 0);
cgen_name := p.table.cgen_name(f)
f.defer_text = ' ${cgen_name}_time += time__ticks() - _PROF_START;'
}
p.statements_no_curly_end()
p.statements_no_rcbr()
// Print counting result after all statements in main
if p.pref.is_prof && f.name == 'main' {
p.genln(p.print_prof_counters())