minor fixes

pull/1003/head
Alexander Medvednikov 2019-07-04 22:39:13 +02:00
parent adef37f0f4
commit 92528205c1
2 changed files with 1 additions and 2 deletions

View File

@ -960,7 +960,7 @@ fn new_v(args[]string) *V {
fn run_repl() []string { fn run_repl() []string {
println('V $Version') println('V $Version')
println('Use Ctrl-D or `exit` to exit') println('Use Ctrl-C or `exit` to exit')
println('For now you have to use println() to print values, this will be fixed soon\n') println('For now you have to use println() to print values, this will be fixed soon\n')
file := TmpPath + '/vrepl.v' file := TmpPath + '/vrepl.v'
mut lines := []string mut lines := []string

View File

@ -90,7 +90,6 @@ pub fn calloc(n int) byteptr {
} }
fn _strlen(s byteptr) int { fn _strlen(s byteptr) int {
// TODO don't call a C function, implement it in V
return C.strlen(s) return C.strlen(s)
} }