SE250:lab-9:rthu009
Okay.... after half and hour of lookn at the code i gt a bit of idea how to go further on task2
Tree* Stmt( TokenStream* tokens )
if( current( tokens ))
advance( tokens );
Tree* t1 = Exp( tokens, 0 );
expect( tokens, TOK_THEN );
Tree* t2 = Exp( tokens, 0 );
expect( tokens, TOK_ELSE );
Tree* t3 = Exp( tokens, 0 );
return mkNode3(n,t1,t2,t3);
}