eval context for macros lives as long as the current module is compiled
This commit is contained in:
parent
fe9bb1869d
commit
a0a8934a4f
6 changed files with 68 additions and 25 deletions
|
|
@ -13,7 +13,7 @@ import
|
|||
strutils, lists, intsets, options, lexer, ast, astalgo, trees, treetab,
|
||||
wordrecg,
|
||||
ropes, msgs, platform, os, condsyms, idents, renderer, types, extccomp, math,
|
||||
magicsys, nversion, nimsets, parser, times, passes, rodread
|
||||
magicsys, nversion, nimsets, parser, times, passes, rodread, evals
|
||||
|
||||
type
|
||||
TOptionEntry* = object of lists.TListEntry # entries to put on a
|
||||
|
|
@ -69,6 +69,7 @@ type
|
|||
includedFiles*: TIntSet # used to detect recursive include files
|
||||
filename*: string # the module's filename
|
||||
userPragmas*: TStrTable
|
||||
evalContext*: PEvalContext
|
||||
|
||||
var
|
||||
gGenericsCache: PGenericsCache # save for modularity
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue