summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorZahary Karadjov <zahary@gmail.com>2013-04-29 09:51:52 +0300
committerZahary Karadjov <zahary@gmail.com>2013-04-29 09:52:27 +0300
commite0f706804f115d7a2b88abe18616dd00a3bc3034 (patch)
tree7c92c5a1d2a279792947d8fb68548c3e8b52ddc5
parenta31c81e31c47d3b1aeb5ff30c166cc72985cfe84 (diff)
downloadNim-e0f706804f115d7a2b88abe18616dd00a3bc3034.tar.gz
proper compiler output delimiter in the stdin compiler service
-rw-r--r--compiler/service.nim3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/service.nim b/compiler/service.nim
index e2de6e5a0..b3c7fbc83 100644
--- a/compiler/service.nim
+++ b/compiler/service.nim
@@ -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")