Hi,
> The attached patch is how I think we should do it. > Thank you for the patch. I tested this patch and it works fine. I agree with the changes made in it. Regarding v2 patch, - int level = 0; Retaining the level variable will enhance the code readability, IMO. Thank you, Rahila Syed