From b01d9b6181be56b1300847cc1352652caa77e437 Mon Sep 17 00:00:00 2001 From: Zahary Karadjov Date: Sat, 27 Jul 2013 10:17:58 +0300 Subject: work-in-progress for compiling generics in their owner module --- compiler/cgendata.nim | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'compiler/cgendata.nim') diff --git a/compiler/cgendata.nim b/compiler/cgendata.nim index ad17194df..b5888d0f4 100644 --- a/compiler/cgendata.nim +++ b/compiler/cgendata.nim @@ -100,10 +100,8 @@ type headerFiles*: TLinkedList # needed headers to include typeInfoMarker*: TIntSet # needed for generating type information initProc*: BProc # code for init procedure + postInitProc*: BProc # code to be executed after the init proc preInitProc*: BProc # code executed before the init proc - # used for initialization code for - # .global. variables - # (or instantiated generic variables) typeStack*: TTypeSeq # used for type generation dataCache*: TNodeTable forwardedProcs*: TSymSeq # keep forwarded procs here -- cgit 1.4.1-2-gfad0