Hello<div><br></div><div>I'm doing some source-to-source manipulations. Is it possible to disable lexical analyzing during parsing? I mean, if there is an error during parsing, for instance consider following code sample</div>
<div><br></div><div><div>void main()</div><div>{</div><div>    int *a = NULL;</div><div>    int b = 0;</div><div>    b++;</div><div>}</div></div><div><br></div><div>clang will indicate error for a NULL, since stdlib.h is not included. And that statement will be ignored for the AST generation. Is it possible to make clang ignore such errors and generate AST as there are no errors?</div>
<div><br></div><div>With best regards,</div><div>Andrey Tarasevich</div>