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

make.bat for easier compilation on Windows

This commit is contained in:
Alexander Medvednikov 2019-07-04 20:42:16 +02:00
parent 9e4ae929a4
commit 9b0bb2f72c
2 changed files with 4 additions and 2 deletions

View File

@ -659,7 +659,6 @@ fn (p mut Parser) check(expected Token) {
} }
fn (p mut Parser) error(s string) { fn (p mut Parser) error(s string) {
//q := "SDF"
// Dump all vars and types for debugging // Dump all vars and types for debugging
if false { if false {
//file_types := os.create('$TmpPath/types') //file_types := os.create('$TmpPath/types')
@ -671,7 +670,7 @@ fn (p mut Parser) error(s string) {
//file_types.close() //file_types.close()
//file_vars.close() //file_vars.close()
} }
if !p.pref.is_repl { if p.pref.is_verbose {
println('pass=$p.run fn=`$p.cur_fn.name`') println('pass=$p.run fn=`$p.cur_fn.name`')
} }
p.cgen.save() p.cgen.save()

3
make.bat Normal file
View File

@ -0,0 +1,3 @@
curl -O https://raw.githubusercontent.com/vlang/vc/master/v.c
gcc -std=gnu11 -w -o v.exe v.c
del v.c