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

makefile: pre-build builtin modules

This commit is contained in:
Alexander Medvednikov
2019-11-18 03:51:14 +03:00
parent e081791eaf
commit f7c7ffecb3
2 changed files with 7 additions and 3 deletions

View File

@ -54,9 +54,10 @@ fn generate_vh(mod string) {
!it.ends_with('_lin.v') &&
!it.contains('${os.path_separator}examples') &&
!it.contains('_js.v') &&
!it.contains('_bare.v') &&
!it.contains('${os.path_separator}js')) // TODO merge once filter allows it
println('f:')
println(filtered)
//println('f:')
//println(filtered)
mut v := new_v(['foo.v'])
//v.pref.generating_vh = true
mut g := VhGen{
@ -102,7 +103,7 @@ fn (g mut VhGen) generate_fn() {
}
if next.tok == .name && next.lit == 'C' {
println('skipping C')
//println('skipping C')
return
}
//out.write('pub ')