summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2019-07-14 17:14:51 +0200
committerAndreas Rumpf <rumpf_a@web.de>2019-07-14 17:14:51 +0200
commitdf53c68a363318c9ce080b6827b573a3d60ec760 (patch)
tree3032b9081c1325ac7eefd2c4c11aaf973ff08459 /compiler
parent58e0dad3712d4e423fd26bd91b26b8a31a85bf33 (diff)
downloadNim-df53c68a363318c9ce080b6827b573a3d60ec760.tar.gz
makes devel green again
Diffstat (limited to 'compiler')
-rw-r--r--compiler/nim.cfg4
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/nim.cfg b/compiler/nim.cfg
index 6f266317f..b9480007f 100644
--- a/compiler/nim.cfg
+++ b/compiler/nim.cfg
@@ -14,7 +14,9 @@ define:nimcore
 define:useStdoutAsStdmsg
 define:nimOldCaseObjects
 
-styleCheck:error
+@if nimHasStyleChecks:
+  styleCheck:error
+@end
 
 #define:useNodeIds
 #gc:markAndSweep