<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6001.18183" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY 
style="WORD-WRAP: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space" 
bgColor=#ffffff>
<DIV>
<DIV><FONT face=Arial size=2>Hi All</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I'm using clang as a parser for another project (ie 
I have my own Actions implementation) and I get an assert failure on the 
following code:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>int a;</FONT></DIV>
<DIV><FONT face=Arial size=2>int main()<BR>{<BR>    return 
::a;<BR>}<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>The assertion text reads:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>assertion 
"CachedTokens[CachedLexPos-1].getLocation() == Tok.getAnnotationEndLoc() 
&& "The annotation should be until the most recent cached token"" 
failed: file "PPCaching.cpp", line 95</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Does anyone know what this is? Also, can I turn off 
caching of tokens if I'm not worried about speed? </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Cheers, John</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></DIV></BODY></HTML>