updated the compiler to use the new symbol names

This commit is contained in:
Araq 2014-08-28 23:48:42 +02:00
commit 5946747970
30 changed files with 307 additions and 114 deletions

View file

@ -140,12 +140,12 @@ type
fn: PSym # function that belongs to this scope;
# if up.fn != fn then we cross function boundaries.
# This is an important case to consider.
vars: TIntSet # variables belonging to this environment
vars: IntSet # variables belonging to this environment
TOuterContext = object
fn: PSym # may also be a module!
head: PEnv
capturedVars, processed: TIntSet
capturedVars, processed: IntSet
localsToAccess: TIdNodeTable
lambdasToEnv: TIdTable # PSym->PEnv mapping