summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2016-05-24 00:07:43 +0200
committerAndreas Rumpf <rumpf_a@web.de>2016-05-24 00:07:59 +0200
commite00f15aa2a0843afbf204157b0b93f8de2bae3ba (patch)
tree4141ac50ba38b0b5cf57a207e73505e07a6ef18a
parent8b7d52a7343846a0f620777e51d0831c6f557113 (diff)
downloadNim-e00f15aa2a0843afbf204157b0b93f8de2bae3ba.tar.gz
Nim check defines 'nimcheck' conditional symbol
-rw-r--r--compiler/main.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/main.nim b/compiler/main.nim
index ece21a817..4aefbb85a 100644
--- a/compiler/main.nim
+++ b/compiler/main.nim
@@ -41,6 +41,7 @@ proc commandGenDepend =
 
 proc commandCheck =
   msgs.gErrorMax = high(int)  # do not stop after first error
+  defineSymbol("nimcheck")
   semanticPasses()            # use an empty backend for semantic checking only
   rodPass()
   compileProject()