added InSystemModule for hti.nim

This commit is contained in:
Simon Hafner 2013-06-15 12:55:26 -05:00
commit d3ec5a2cee
2 changed files with 3 additions and 2 deletions

View file

@ -47,6 +47,8 @@ const
{.push hints: off.} {.push hints: off.}
const InSystemModule = true
type type
Ordinal* {.magic: Ordinal.}[T] Ordinal* {.magic: Ordinal.}[T]
`nil` {.magic: "Nil".} `nil` {.magic: "Nil".}

View file

@ -7,8 +7,7 @@
# distribution, for details about the copyright. # distribution, for details about the copyright.
# #
when defined(NimString): when defined(InSystemModule):
# we are in system module:
{.pragma: codegenType, compilerproc.} {.pragma: codegenType, compilerproc.}
else: else:
{.pragma: codegenType.} {.pragma: codegenType.}