Re: [CIL users] Multiple conditions in an IF

2010-04-10 Thread ThanhVu (Vu) Nguyen
Claire, attached is a new .ml version that has some additional code to check on some special cases (since the original one you gave me doesn't work with these cases). I feel it might be incorrect or might have side effects. Could you look at it and let me know if it's OK ? thanks VN - On

Re: [CIL users] Multiple conditions in an IF

2010-04-10 Thread ThanhVu (Vu) Nguyen
I made some progress with this using different kind of Visitors. The attached ml seems to do what I want (i.e., putting a s1: printf "hello" at the outter most if and a s2: printf "world" at the inner most if).I still feel it might have some side effects and incorrect though -- To summa