Fix #101 - include globals in cimport

This commit is contained in:
Ganesh Viswanathan 2019-01-31 09:20:28 -06:00
commit ada2ac0244
2 changed files with 4 additions and 2 deletions

View file

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

View file

@ -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.} =