exit REPL on Windows

pull/777/head
Alexander Medvednikov 2019-06-28 21:28:55 +02:00
parent 2a2b402277
commit 37e2da9d23
1 changed files with 1 additions and 1 deletions

View File

@ -853,7 +853,7 @@ fn new_v(args[]string) *V {
fn run_repl() []string {
$if windows {
println('REPL does not work on Windows yet, sorry!')
exit1()
exit(1)
}
println('V $Version')
println('Use Ctrl-D to exit')