vars can be 'compileTime'; shallow introduced weird string aliasing bug

This commit is contained in:
Araq 2012-03-11 12:01:10 +01:00
commit 1d8ff40f56
2 changed files with 3 additions and 3 deletions

View file

@ -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