summary refs log tree commit diff stats
path: root/compiler/nversion.nim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/nversion.nim')
-rw-r--r--compiler/nversion.nim5
1 files changed, 5 insertions, 0 deletions
diff --git a/compiler/nversion.nim b/compiler/nversion.nim
index 85265a7c0..811008989 100644
--- a/compiler/nversion.nim
+++ b/compiler/nversion.nim
@@ -12,6 +12,11 @@
 
 const
   MaxSetElements* = 1 shl 16  # (2^16) to support unicode character sets?
+  DefaultSetElements* = 1 shl 8
+    ## assumed set element count when using int literals
   VersionAsString* = system.NimVersion
   RodFileVersion* = "1223"       # modify this if the rod-format changes!
 
+  NimCompilerApiVersion* = 3 ## Check for the existence of this before accessing it
+                             ## as older versions of the compiler API do not
+                             ## declare this.