mirror of
https://github.com/nim-lang/Nim.git
synced 2026-08-26 16:41:39 +00:00
omg
This commit is contained in:
@@ -32,10 +32,12 @@ when not defined(nimKochBootstrap):
|
||||
template typ*(n: PNode): PType =
|
||||
n.typField
|
||||
|
||||
var program {.threadvar.}: DecodeContext
|
||||
when not defined(nimKochBootstrap):
|
||||
var program {.threadvar.}: DecodeContext
|
||||
|
||||
proc setupProgram*(config: ConfigRef; cache: IdentCache) =
|
||||
program = createDecodeContext(config, cache)
|
||||
when not defined(nimKochBootstrap):
|
||||
program = createDecodeContext(config, cache)
|
||||
|
||||
template loadSym(s: PSym) =
|
||||
## Loads a symbol from NIF file if it's in Partial state.
|
||||
|
||||
Reference in New Issue
Block a user