Fix #101 - include globals in cimport
This commit is contained in:
parent
abaac4d1bf
commit
ada2ac0244
2 changed files with 4 additions and 2 deletions
|
|
@ -2,7 +2,9 @@ import hashes, macros, os, strformat, strutils
|
|||
|
||||
const CIMPORT {.used.} = 1
|
||||
|
||||
import "." / [globals, types, paths]
|
||||
include "." / globals
|
||||
|
||||
import "." / [types, paths]
|
||||
export types
|
||||
|
||||
proc interpPath(dir: string): string=
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ type
|
|||
data*: seq[tuple[name, val: string]]
|
||||
|
||||
var
|
||||
gStateCT* {.compiletime, used.}: State
|
||||
gStateCT {.compiletime, used.}: State
|
||||
gStateRT {.used.}: State
|
||||
|
||||
template nBl(s: typed): untyped {.used.} =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue