summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2017-04-06 08:53:31 +0200
committerAndreas Rumpf <rumpf_a@web.de>2017-04-06 08:53:31 +0200
commitab3f22fce1f9e26de1af87438fada47a3a9957e7 (patch)
tree4ad98bf0962e0e62082fb4d3f85711d096f0c249
parent3d4f68c822a31195da76363c3e775fb21257566d (diff)
downloadNim-ab3f22fce1f9e26de1af87438fada47a3a9957e7.tar.gz
minor update for nimsuggest
-rw-r--r--nimsuggest/nimsuggest.nim1
-rw-r--r--nimsuggest/tests/tinclude.nim4
2 files changed, 3 insertions, 2 deletions
diff --git a/nimsuggest/nimsuggest.nim b/nimsuggest/nimsuggest.nim
index c5858b8f8..c1adb87a1 100644
--- a/nimsuggest/nimsuggest.nim
+++ b/nimsuggest/nimsuggest.nim
@@ -279,6 +279,7 @@ proc replStdin(x: ThreadParams) {.thread.} =
     while true:
       let line = readLine(stdin)
       requests.send line
+      if line == "quit": break
       toStdout()
       echo DummyEof
       flushFile(stdout)
diff --git a/nimsuggest/tests/tinclude.nim b/nimsuggest/tests/tinclude.nim
index ee4a6698d..e235254a2 100644
--- a/nimsuggest/tests/tinclude.nim
+++ b/nimsuggest/tests/tinclude.nim
@@ -1,7 +1,7 @@
 discard """
 $nimsuggest --tester compiler/nim.nim
 >def compiler/semexprs.nim:13:50
-def;;skType;;ast.PSym;;PSym;;*ast.nim;;671;;2;;"";;100
+def;;skType;;ast.PSym;;PSym;;*ast.nim;;686;;2;;"";;100
 >def compiler/semexprs.nim:13:50
-def;;skType;;ast.PSym;;PSym;;*ast.nim;;671;;2;;"";;100
+def;;skType;;ast.PSym;;PSym;;*ast.nim;;686;;2;;"";;100
 """