<div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">
<br>
</div>The AST pretty-print isn't guaranteed to produce output that can be parsed. It would be wonderful if we could get there, but it's going to take some serious work to get it right.<br>
<div class="im"><br></div></blockquote></div><br>how and in what aspects specifically (examples of pretty output that can't be re-parsed ? ) , the only one i saw was Null nodes (still on testing small C things , haven't tried any real thing yet :) )<br>
<br>I've managed to pseudo-chain ASTConsumers , i used a variation on Vlad's idea , a custom ParseAST that accepts a vector of ASTConsumers , calls them one by one.<br>I'm also getting good results with in-place AST modifications , that i chain as separate ASTConsumers ,, that's why i need to know the exact limitations of pretty-print , upon which i depend now<br>
<br>Thanks,<br>Mohammd Yousef<br></div>