summary refs log tree commit diff stats
path: root/compiler/pragmas.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2012-03-11 12:01:10 +0100
committerAraq <rumpf_a@web.de>2012-03-11 12:01:10 +0100
commit1d8ff40f5679d3ddfa10a89b0333a0132ee1e1b2 (patch)
treeefd6d38efe6019dd2a696a3c9f7e273dc8a0ff94 /compiler/pragmas.nim
parentec0f982ed4c3eff11f13f3096e8dcda3fcaf2c31 (diff)
downloadNim-1d8ff40f5679d3ddfa10a89b0333a0132ee1e1b2.tar.gz
vars can be 'compileTime'; shallow introduced weird string aliasing bug
Diffstat (limited to 'compiler/pragmas.nim')
-rwxr-xr-xcompiler/pragmas.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/pragmas.nim b/compiler/pragmas.nim
index 073d2b594..72356eafd 100755
--- a/compiler/pragmas.nim
+++ b/compiler/pragmas.nim
@@ -50,7 +50,7 @@ const
     wImportcpp, wImportobjc, wError}
   varPragmas* = {wImportc, wExportc, wVolatile, wRegister, wThreadVar, wNodecl, 
     wMagic, wHeader, wDeprecated, wCompilerProc, wDynLib, wExtern,
-    wImportcpp, wImportobjc, wError, wNoInit}
+    wImportcpp, wImportobjc, wError, wNoInit, wCompileTime}
   constPragmas* = {wImportc, wExportc, wHeader, wDeprecated, wMagic, wNodecl,
     wExtern, wImportcpp, wImportobjc, wError}
   letPragmas* = varPragmas