summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--compiler/condsyms.nim6
1 files changed, 6 insertions, 0 deletions
diff --git a/compiler/condsyms.nim b/compiler/condsyms.nim
index 0955a84ae..ba1c42a74 100644
--- a/compiler/condsyms.nim
+++ b/compiler/condsyms.nim
@@ -12,6 +12,8 @@
 import
   strtabs, platform, strutils, idents
 
+from options import Feature
+
 const
   catNone = "false"
 
@@ -76,3 +78,7 @@ proc initDefines*(symbols: StringTableRef) =
   defineSymbol("nimAshr")
   defineSymbol("nimNoNilSeqs")
   defineSymbol("nimNoNilSeqs2")
+
+  defineSymbol("nimHasNilSeqs")
+  for f in low(Feature)..high(Feature):
+    defineSymbol("nimHas" & $f)