Re: [CIL users] Preprocessor directives

2010-07-12 Thread Christoph Spiel
Hi! On Mon, Jul 12, 2010 at 08:12:08PM +0300, Zakkak Foivos wrote: > i need some help inserting some preprocessor directives between some > generated (with Cil) stmts. Some time ago, I used #pragma directives to communicate extra information to and from a cil run. Of course your cil-exte

[CIL users] Preprocessor directives

2010-07-12 Thread Zakkak Foivos
Hello list, i need some help inserting some preprocessor directives between some generated (with Cil) stmts. e.g i would like to build (inside a function body) int i; #ifdef FOUR i=4; #elif i=0; #endif the only way i found is by using GText but this returns a global which i cannot append to a s