From 92528205c14703f793cdfbfb1610fa58356c6b6c Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Thu, 4 Jul 2019 22:39:13 +0200 Subject: [PATCH] minor fixes --- compiler/main.v | 2 +- vlib/builtin/builtin.v | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/compiler/main.v b/compiler/main.v index f7b2e9e203..93a9df14ca 100644 --- a/compiler/main.v +++ b/compiler/main.v @@ -960,7 +960,7 @@ fn new_v(args[]string) *V { fn run_repl() []string { 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') file := TmpPath + '/vrepl.v' mut lines := []string diff --git a/vlib/builtin/builtin.v b/vlib/builtin/builtin.v index 2d19eae95a..5ff24198fc 100644 --- a/vlib/builtin/builtin.v +++ b/vlib/builtin/builtin.v @@ -90,7 +90,6 @@ pub fn calloc(n int) byteptr { } fn _strlen(s byteptr) int { - // TODO don't call a C function, implement it in V return C.strlen(s) }