From 1d8ff40f5679d3ddfa10a89b0333a0132ee1e1b2 Mon Sep 17 00:00:00 2001 From: Araq Date: Sun, 11 Mar 2012 12:01:10 +0100 Subject: vars can be 'compileTime'; shallow introduced weird string aliasing bug --- compiler/pragmas.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/pragmas.nim') 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 -- cgit 1.4.1-2-gfad0