diff options
author | Araq <rumpf_a@web.de> | 2012-03-11 12:01:10 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2012-03-11 12:01:10 +0100 |
commit | 1d8ff40f5679d3ddfa10a89b0333a0132ee1e1b2 (patch) | |
tree | efd6d38efe6019dd2a696a3c9f7e273dc8a0ff94 /compiler/pragmas.nim | |
parent | ec0f982ed4c3eff11f13f3096e8dcda3fcaf2c31 (diff) | |
download | Nim-1d8ff40f5679d3ddfa10a89b0333a0132ee1e1b2.tar.gz |
vars can be 'compileTime'; shallow introduced weird string aliasing bug
Diffstat (limited to 'compiler/pragmas.nim')
-rwxr-xr-x | compiler/pragmas.nim | 2 |
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 |