proper compiler output delimiter in the stdin compiler service

This commit is contained in:
Zahary Karadjov
2013-04-29 09:51:52 +03:00
parent a31c81e31c
commit e0f706804f

View File

@@ -73,6 +73,9 @@ proc serve*(action: proc (){.nimcall.}) =
var line = stdin.readLine.string
if line == "quit": quit()
execute line
echo ""
FlushFile(stdout)
of "tcp", "":
var server = Socket()
let p = getConfigVar("server.port")