diff options
Diffstat (limited to 'src/program.c')
-rw-r--r-- | src/program.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/src/program.c b/src/program.c index cdd0f335..66fe3509 100644 --- a/src/program.c +++ b/src/program.c @@ -188,18 +188,8 @@ Program *colm_new_program( RuntimeData *rtd ) initPoolAlloc( &prg->headPool, sizeof(Head) ); initPoolAlloc( &prg->locationPool, sizeof(Location) ); - Int *trueInt = (Int*) 1; //treeAllocate( prg ); -// trueInt->id = LEL_ID_BOOL; -// trueInt->refs = 1; -// trueInt->value = 1; -// - Int *falseInt = (Int*) 0; //treeAllocate( prg ); -// falseInt->id = LEL_ID_BOOL; -// falseInt->refs = 1; -// falseInt->value = 0; - - prg->trueVal = (Tree*)trueInt; - prg->falseVal = (Tree*)falseInt; + prg->trueVal = (Tree*) 1; + prg->falseVal = (Tree*) 0; /* Allocate the global variable. */ colm_alloc_global( prg ); |