mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
minor fixes
This commit is contained in:
parent
adef37f0f4
commit
92528205c1
@ -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
|
||||||
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user